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>
此提交包含在:
@@ -3033,6 +3033,7 @@ static struct platform_driver msm_lsm_driver = {
|
||||
.name = "msm-lsm-client",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = of_match_ptr(msm_lsm_client_dt_match),
|
||||
.suppress_bind_attrs = true,
|
||||
},
|
||||
.probe = msm_lsm_probe,
|
||||
.remove = msm_lsm_remove,
|
||||
|
新增問題並參考
封鎖使用者