ASoC: hide bind/unbind in sysfs
Exposure of driver bind/unbind to userspace via sysfs may lead to unexpected behavior. Hide bind and unbind by driver attribute. Change-Id: I20d6ee653bcc16af15d6368664aaf240c6645cd0 Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
This commit is contained in:

zatwierdzone przez
Meng Wang

rodzic
586382a701
commit
53cd13a1ab
@@ -6712,6 +6712,7 @@ static struct platform_driver kona_asoc_machine_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &snd_soc_pm_ops,
|
||||
.of_match_table = kona_asoc_machine_of_match,
|
||||
.suppress_bind_attrs = true,
|
||||
},
|
||||
.probe = msm_asoc_machine_probe,
|
||||
.remove = msm_asoc_machine_remove,
|
||||
|
Reference in New Issue
Block a user