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>
此提交包含在:
@@ -801,6 +801,7 @@ static struct platform_driver lpi_pinctrl_driver = {
|
||||
.name = "qcom-lpi-pinctrl",
|
||||
.pm = &lpi_pinctrl_dev_pm_ops,
|
||||
.of_match_table = lpi_pinctrl_of_match,
|
||||
.suppress_bind_attrs = true,
|
||||
},
|
||||
.probe = lpi_pinctrl_probe,
|
||||
.remove = lpi_pinctrl_remove,
|
||||
|
新增問題並參考
封鎖使用者