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>
这个提交包含在:
Xiaojun Sang
2018-06-29 15:14:37 +08:00
提交者 Meng Wang
父节点 586382a701
当前提交 53cd13a1ab
修改 53 个文件,包含 86 行新增23 行删除

查看文件

@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-only
/* Copyright (c) 2016-2018, The Linux Foundation. All rights reserved.
/* Copyright (c) 2016-2019, The Linux Foundation. All rights reserved.
*/
#include <linux/init.h>
@@ -1340,6 +1340,7 @@ static struct platform_driver msm_pcm_driver_noirq = {
.name = "msm-pcm-dsp-noirq",
.owner = THIS_MODULE,
.of_match_table = msm_pcm_noirq_dt_match,
.suppress_bind_attrs = true,
},
.probe = msm_pcm_probe,
.remove = msm_pcm_remove,