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:
@@ -603,6 +603,7 @@ static struct platform_driver bolero_clk_rsc_mgr = {
|
||||
.name = "bolero-clk-rsc-mngr",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = bolero_clk_rsc_dt_match,
|
||||
.suppress_bind_attrs = true,
|
||||
},
|
||||
.probe = bolero_clk_rsc_probe,
|
||||
.remove = bolero_clk_rsc_remove,
|
||||
|
مرجع در شماره جدید
Block a user