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>
diff --git a/asoc/codecs/audio-ext-clk-up.c b/asoc/codecs/audio-ext-clk-up.c
index e6e68ad..fcdf5dc 100644
--- a/asoc/codecs/audio-ext-clk-up.c
+++ b/asoc/codecs/audio-ext-clk-up.c
@@ -565,6 +565,7 @@
.name = "audio-ref-clk",
.owner = THIS_MODULE,
.of_match_table = audio_ref_clk_match,
+ .suppress_bind_attrs = true,
},
.probe = audio_ref_clk_probe,
.remove = audio_ref_clk_remove,
diff --git a/asoc/codecs/audio-ext-clk.c b/asoc/codecs/audio-ext-clk.c
index 07556ee..adcd7a6 100644
--- a/asoc/codecs/audio-ext-clk.c
+++ b/asoc/codecs/audio-ext-clk.c
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-only
-/* Copyright (c) 2015-2017, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2015-2017, 2019 The Linux Foundation. All rights reserved.
*/
#include <linux/kernel.h>
@@ -321,6 +321,7 @@
.name = "audio-ref-clk",
.owner = THIS_MODULE,
.of_match_table = audio_ref_clk_match,
+ .suppress_bind_attrs = true,
},
.probe = audio_ref_clk_probe,
.remove = audio_ref_clk_remove,
diff --git a/asoc/codecs/bolero/bolero-cdc.c b/asoc/codecs/bolero/bolero-cdc.c
index 45e9936..7afef8b 100644
--- a/asoc/codecs/bolero/bolero-cdc.c
+++ b/asoc/codecs/bolero/bolero-cdc.c
@@ -1026,6 +1026,7 @@
.name = "bolero-codec",
.owner = THIS_MODULE,
.of_match_table = bolero_dt_match,
+ .suppress_bind_attrs = true,
},
.probe = bolero_probe,
.remove = bolero_remove,
diff --git a/asoc/codecs/bolero/bolero-clk-rsc.c b/asoc/codecs/bolero/bolero-clk-rsc.c
index 6742562..82f3879 100644
--- a/asoc/codecs/bolero/bolero-clk-rsc.c
+++ b/asoc/codecs/bolero/bolero-clk-rsc.c
@@ -603,6 +603,7 @@
.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,
diff --git a/asoc/codecs/bolero/rx-macro.c b/asoc/codecs/bolero/rx-macro.c
index e43fa62..7def494 100644
--- a/asoc/codecs/bolero/rx-macro.c
+++ b/asoc/codecs/bolero/rx-macro.c
@@ -3712,6 +3712,7 @@
.owner = THIS_MODULE,
.pm = &bolero_dev_pm_ops,
.of_match_table = rx_macro_dt_match,
+ .suppress_bind_attrs = true,
},
.probe = rx_macro_probe,
.remove = rx_macro_remove,
diff --git a/asoc/codecs/bolero/tx-macro.c b/asoc/codecs/bolero/tx-macro.c
index 49b7da5..177bab4 100644
--- a/asoc/codecs/bolero/tx-macro.c
+++ b/asoc/codecs/bolero/tx-macro.c
@@ -2077,6 +2077,7 @@
.owner = THIS_MODULE,
.pm = &bolero_dev_pm_ops,
.of_match_table = tx_macro_dt_match,
+ .suppress_bind_attrs = true,
},
.probe = tx_macro_probe,
.remove = tx_macro_remove,
diff --git a/asoc/codecs/bolero/va-macro.c b/asoc/codecs/bolero/va-macro.c
index cdfe6c7..3bba403 100644
--- a/asoc/codecs/bolero/va-macro.c
+++ b/asoc/codecs/bolero/va-macro.c
@@ -1756,6 +1756,7 @@
.owner = THIS_MODULE,
.pm = &bolero_dev_pm_ops,
.of_match_table = va_macro_dt_match,
+ .suppress_bind_attrs = true,
},
.probe = va_macro_probe,
.remove = va_macro_remove,
diff --git a/asoc/codecs/bolero/wsa-macro.c b/asoc/codecs/bolero/wsa-macro.c
index d1ba346..cc5b8f2 100644
--- a/asoc/codecs/bolero/wsa-macro.c
+++ b/asoc/codecs/bolero/wsa-macro.c
@@ -3008,6 +3008,7 @@
.owner = THIS_MODULE,
.pm = &bolero_dev_pm_ops,
.of_match_table = wsa_macro_dt_match,
+ .suppress_bind_attrs = true,
},
.probe = wsa_macro_probe,
.remove = wsa_macro_remove,
diff --git a/asoc/codecs/msm-cdc-pinctrl.c b/asoc/codecs/msm-cdc-pinctrl.c
index b626e57..8ed0c8e 100644
--- a/asoc/codecs/msm-cdc-pinctrl.c
+++ b/asoc/codecs/msm-cdc-pinctrl.c
@@ -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/kernel.h>
@@ -233,6 +233,7 @@
.name = "msm-cdc-pinctrl",
.owner = THIS_MODULE,
.of_match_table = msm_cdc_pinctrl_match,
+ .suppress_bind_attrs = true,
},
.probe = msm_cdc_pinctrl_probe,
.remove = msm_cdc_pinctrl_remove,
diff --git a/asoc/codecs/msm_hdmi_codec_rx.c b/asoc/codecs/msm_hdmi_codec_rx.c
index 0c142f1..5349598 100644
--- a/asoc/codecs/msm_hdmi_codec_rx.c
+++ b/asoc/codecs/msm_hdmi_codec_rx.c
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-only
-/* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2012-2019, The Linux Foundation. All rights reserved.
*/
#include <linux/platform_device.h>
#include <linux/slab.h>
@@ -698,6 +698,7 @@
.name = "msm-ext-disp-audio-codec-rx",
.owner = THIS_MODULE,
.of_match_table = msm_ext_disp_audio_codec_rx_dt_match,
+ .suppress_bind_attrs = true,
},
.probe = msm_ext_disp_audio_codec_rx_plat_probe,
.remove = msm_ext_disp_audio_codec_rx_plat_remove,
diff --git a/asoc/codecs/msm_stub.c b/asoc/codecs/msm_stub.c
index a754c49..cf91f2a 100644
--- a/asoc/codecs/msm_stub.c
+++ b/asoc/codecs/msm_stub.c
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-only
-/* Copyright (c) 2011-2014, 2017-2018 The Linux Foundation. All rights reserved.
+/* Copyright (c) 2011-2014, 2017-2019 The Linux Foundation. All rights reserved.
*/
#include <linux/platform_device.h>
#include <linux/slab.h>
@@ -63,6 +63,7 @@
.name = "msm-stub-codec",
.owner = THIS_MODULE,
.of_match_table = msm_stub_codec_dt_match,
+ .suppress_bind_attrs = true,
},
.probe = msm_stub_dev_probe,
.remove = msm_stub_dev_remove,
diff --git a/asoc/codecs/wcd-dsp-mgr.c b/asoc/codecs/wcd-dsp-mgr.c
index e0070e6..a6acc2d 100644
--- a/asoc/codecs/wcd-dsp-mgr.c
+++ b/asoc/codecs/wcd-dsp-mgr.c
@@ -1,6 +1,6 @@
// 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/module.h>
#include <linux/platform_device.h>
@@ -1306,6 +1306,7 @@
.name = "wcd-dsp-mgr",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(wdsp_mgr_dt_match),
+ .suppress_bind_attrs = true,
},
.probe = wdsp_mgr_probe,
.remove = wdsp_mgr_remove,
diff --git a/asoc/codecs/wcd9335.c b/asoc/codecs/wcd9335.c
index e501a35..009e614 100644
--- a/asoc/codecs/wcd9335.c
+++ b/asoc/codecs/wcd9335.c
@@ -14796,6 +14796,7 @@
#ifdef CONFIG_PM
.pm = &tasha_pm_ops,
#endif
+ .suppress_bind_attrs = true,
},
};
diff --git a/asoc/codecs/wcd934x/wcd934x.c b/asoc/codecs/wcd934x/wcd934x.c
index f1c3536..ea928f0 100644
--- a/asoc/codecs/wcd934x/wcd934x.c
+++ b/asoc/codecs/wcd934x/wcd934x.c
@@ -11471,6 +11471,7 @@
#ifdef CONFIG_PM
.pm = &tavil_pm_ops,
#endif
+ .suppress_bind_attrs = true,
},
};
diff --git a/asoc/codecs/wcd937x/wcd937x.c b/asoc/codecs/wcd937x/wcd937x.c
index bde3a7e..ce2b492 100644
--- a/asoc/codecs/wcd937x/wcd937x.c
+++ b/asoc/codecs/wcd937x/wcd937x.c
@@ -2923,6 +2923,7 @@
#ifdef CONFIG_PM_SLEEP
.pm = &wcd937x_dev_pm_ops,
#endif
+ .suppress_bind_attrs = true,
},
};
diff --git a/asoc/codecs/wcd938x/wcd938x.c b/asoc/codecs/wcd938x/wcd938x.c
index 6241cf2..4ded2d2 100644
--- a/asoc/codecs/wcd938x/wcd938x.c
+++ b/asoc/codecs/wcd938x/wcd938x.c
@@ -2973,6 +2973,7 @@
#ifdef CONFIG_PM_SLEEP
.pm = &wcd938x_dev_pm_ops,
#endif
+ .suppress_bind_attrs = true,
},
};
diff --git a/asoc/codecs/wcd9xxx-irq.c b/asoc/codecs/wcd9xxx-irq.c
index b748bb2..c1efba4 100644
--- a/asoc/codecs/wcd9xxx-irq.c
+++ b/asoc/codecs/wcd9xxx-irq.c
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-only
-/* Copyright (c) 2011-2018, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2011-2019, The Linux Foundation. All rights reserved.
*/
#include <linux/bitops.h>
#include <linux/kernel.h>
@@ -878,6 +878,7 @@
.name = "wcd9xxx_intc",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(of_match),
+ .suppress_bind_attrs = true,
},
};
diff --git a/asoc/kona.c b/asoc/kona.c
index 50a25b1..84d79fe 100644
--- a/asoc/kona.c
+++ b/asoc/kona.c
@@ -6712,6 +6712,7 @@
.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,
diff --git a/asoc/msm-compress-q6-v2.c b/asoc/msm-compress-q6-v2.c
index f358e45..d9e0927 100644
--- a/asoc/msm-compress-q6-v2.c
+++ b/asoc/msm-compress-q6-v2.c
@@ -5387,6 +5387,7 @@
.name = "msm-compress-dsp",
.owner = THIS_MODULE,
.of_match_table = msm_compr_dt_match,
+ .suppress_bind_attrs = true,
},
.probe = msm_compr_dev_probe,
.remove = msm_compr_remove,
diff --git a/asoc/msm-cpe-lsm.c b/asoc/msm-cpe-lsm.c
index b1a6fe3..7765554 100644
--- a/asoc/msm-cpe-lsm.c
+++ b/asoc/msm-cpe-lsm.c
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
- * Copyright (c) 2013-2018, The Linux Foundation. All rights reserved.
+ * Copyright (c) 2013-2019, The Linux Foundation. All rights reserved.
*/
#include <linux/init.h>
@@ -3331,6 +3331,7 @@
.name = "msm-cpe-lsm",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(msm_cpe_lsm_dt_match),
+ .suppress_bind_attrs = true,
},
.probe = msm_cpe_lsm_probe,
.remove = msm_cpe_lsm_remove,
diff --git a/asoc/msm-dai-fe.c b/asoc/msm-dai-fe.c
index 6256e8a..f53b3a6 100644
--- a/asoc/msm-dai-fe.c
+++ b/asoc/msm-dai-fe.c
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-only
-/* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2012-2019, The Linux Foundation. All rights reserved.
*/
@@ -2765,6 +2765,7 @@
.name = "msm-dai-fe",
.owner = THIS_MODULE,
.of_match_table = msm_dai_fe_dt_match,
+ .suppress_bind_attrs = true,
},
};
diff --git a/asoc/msm-dai-q6-hdmi-v2.c b/asoc/msm-dai-q6-hdmi-v2.c
index 32add91..fb50eba 100644
--- a/asoc/msm-dai-q6-hdmi-v2.c
+++ b/asoc/msm-dai-q6-hdmi-v2.c
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-only
-/* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2012-2019, The Linux Foundation. All rights reserved.
*/
#include <linux/init.h>
@@ -586,6 +586,7 @@
.name = "msm-dai-q6-hdmi",
.owner = THIS_MODULE,
.of_match_table = msm_dai_q6_hdmi_dt_match,
+ .suppress_bind_attrs = true,
},
};
diff --git a/asoc/msm-dai-q6-v2.c b/asoc/msm-dai-q6-v2.c
index 1a82d65..009df8c 100644
--- a/asoc/msm-dai-q6-v2.c
+++ b/asoc/msm-dai-q6-v2.c
@@ -4300,6 +4300,7 @@
.name = "msm-auxpcm-dev",
.owner = THIS_MODULE,
.of_match_table = msm_auxpcm_dev_dt_match,
+ .suppress_bind_attrs = true,
},
};
@@ -6317,6 +6318,7 @@
.name = "msm-dai-q6-dev",
.owner = THIS_MODULE,
.of_match_table = msm_dai_q6_dev_dt_match,
+ .suppress_bind_attrs = true,
},
};
@@ -6354,6 +6356,7 @@
.name = "msm-dai-q6",
.owner = THIS_MODULE,
.of_match_table = msm_dai_q6_dt_match,
+ .suppress_bind_attrs = true,
},
};
@@ -6389,6 +6392,7 @@
.name = "msm-dai-mi2s",
.owner = THIS_MODULE,
.of_match_table = msm_dai_mi2s_dt_match,
+ .suppress_bind_attrs = true,
},
};
@@ -6406,6 +6410,7 @@
.name = "msm-dai-q6-mi2s",
.owner = THIS_MODULE,
.of_match_table = msm_dai_q6_mi2s_dev_dt_match,
+ .suppress_bind_attrs = true,
},
};
@@ -6475,6 +6480,7 @@
.name = "msm-dai-q6-spdif",
.owner = THIS_MODULE,
.of_match_table = msm_dai_q6_spdif_dt_match,
+ .suppress_bind_attrs = true,
},
};
@@ -6699,6 +6705,7 @@
.name = "msm-dai-tdm",
.owner = THIS_MODULE,
.of_match_table = msm_dai_tdm_dt_match,
+ .suppress_bind_attrs = true,
},
};
@@ -10331,6 +10338,7 @@
.name = "msm-dai-q6-tdm",
.owner = THIS_MODULE,
.of_match_table = msm_dai_q6_tdm_dev_dt_match,
+ .suppress_bind_attrs = true,
},
};
@@ -11234,6 +11242,7 @@
.name = "msm-dai-cdc-dma-dev",
.owner = THIS_MODULE,
.of_match_table = msm_dai_q6_cdc_dma_dev_dt_match,
+ .suppress_bind_attrs = true,
},
};
@@ -11271,6 +11280,7 @@
.name = "msm-dai-cdc-dma",
.owner = THIS_MODULE,
.of_match_table = msm_dai_cdc_dma_dt_match,
+ .suppress_bind_attrs = true,
},
};
diff --git a/asoc/msm-dai-stub-v2.c b/asoc/msm-dai-stub-v2.c
index 7e7d4e4..5570156 100644
--- a/asoc/msm-dai-stub-v2.c
+++ b/asoc/msm-dai-stub-v2.c
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-only
-/* Copyright (c) 2013-2014, 2017 The Linux Foundation. All rights reserved.
+/* Copyright (c) 2013-2014, 2017, 2019 The Linux Foundation. All rights reserved.
*/
#include <linux/init.h>
#include <linux/module.h>
@@ -302,6 +302,7 @@
.name = "msm-dai-stub-dev",
.owner = THIS_MODULE,
.of_match_table = msm_dai_stub_dev_dt_match,
+ .suppress_bind_attrs = true,
},
};
@@ -343,6 +344,7 @@
.name = "msm-dai-stub",
.owner = THIS_MODULE,
.of_match_table = msm_dai_stub_dt_match,
+ .suppress_bind_attrs = true,
},
};
diff --git a/asoc/msm-lsm-client.c b/asoc/msm-lsm-client.c
index 3a5707e..a87f7f8 100644
--- a/asoc/msm-lsm-client.c
+++ b/asoc/msm-lsm-client.c
@@ -3033,6 +3033,7 @@
.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,
diff --git a/asoc/msm-pcm-afe-v2.c b/asoc/msm-pcm-afe-v2.c
index 3db81db..8494fcb 100644
--- a/asoc/msm-pcm-afe-v2.c
+++ b/asoc/msm-pcm-afe-v2.c
@@ -896,6 +896,7 @@
.name = "msm-pcm-afe",
.owner = THIS_MODULE,
.of_match_table = msm_pcm_afe_dt_match,
+ .suppress_bind_attrs = true,
},
.probe = msm_afe_probe,
.remove = msm_afe_remove,
diff --git a/asoc/msm-pcm-dtmf-v2.c b/asoc/msm-pcm-dtmf-v2.c
index 58ae5fa..7f79471 100644
--- a/asoc/msm-pcm-dtmf-v2.c
+++ b/asoc/msm-pcm-dtmf-v2.c
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-only
-/* Copyright (c) 2013-2014, 2017-2018 The Linux Foundation. All rights reserved.
+/* Copyright (c) 2013-2014, 2017-2019 The Linux Foundation. All rights reserved.
*/
#include <linux/init.h>
@@ -567,6 +567,7 @@
.name = "msm-pcm-dtmf",
.owner = THIS_MODULE,
.of_match_table = msm_pcm_dtmf_dt_match,
+ .suppress_bind_attrs = true,
},
.probe = msm_pcm_probe,
.remove = msm_pcm_remove,
diff --git a/asoc/msm-pcm-host-voice-v2.c b/asoc/msm-pcm-host-voice-v2.c
index 49e9591..41c3982 100644
--- a/asoc/msm-pcm-host-voice-v2.c
+++ b/asoc/msm-pcm-host-voice-v2.c
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-only
-/* Copyright (c) 2013-2018, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2013-2019, The Linux Foundation. All rights reserved.
*/
#include <linux/init.h>
@@ -1477,6 +1477,7 @@
.name = "msm-voice-host-pcm",
.owner = THIS_MODULE,
.of_match_table = msm_voice_host_pcm_dt_match,
+ .suppress_bind_attrs = true,
},
.probe = msm_pcm_probe,
.remove = msm_pcm_remove,
diff --git a/asoc/msm-pcm-hostless.c b/asoc/msm-pcm-hostless.c
index 3109b72..63c5db8 100644
--- a/asoc/msm-pcm-hostless.c
+++ b/asoc/msm-pcm-hostless.c
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-only
-/* Copyright (c) 2011-2014, 2017-2018, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2011-2014, 2017-2019 The Linux Foundation. All rights reserved.
*/
#include <linux/init.h>
@@ -56,6 +56,7 @@
.name = "msm-pcm-hostless",
.owner = THIS_MODULE,
.of_match_table = msm_pcm_hostless_dt_match,
+ .suppress_bind_attrs = true,
},
.probe = msm_pcm_hostless_probe,
.remove = msm_pcm_hostless_remove,
diff --git a/asoc/msm-pcm-loopback-v2.c b/asoc/msm-pcm-loopback-v2.c
index 4834e81..07cf20b 100644
--- a/asoc/msm-pcm-loopback-v2.c
+++ b/asoc/msm-pcm-loopback-v2.c
@@ -1504,6 +1504,7 @@
.name = "msm-pcm-loopback",
.owner = THIS_MODULE,
.of_match_table = msm_pcm_loopback_dt_match,
+ .suppress_bind_attrs = true,
},
.probe = msm_pcm_probe,
.remove = msm_pcm_remove,
diff --git a/asoc/msm-pcm-q6-noirq.c b/asoc/msm-pcm-q6-noirq.c
index 3452614..b33eba3 100644
--- a/asoc/msm-pcm-q6-noirq.c
+++ b/asoc/msm-pcm-q6-noirq.c
@@ -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 @@
.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,
diff --git a/asoc/msm-pcm-q6-v2.c b/asoc/msm-pcm-q6-v2.c
index 322bf66..fc9b332 100644
--- a/asoc/msm-pcm-q6-v2.c
+++ b/asoc/msm-pcm-q6-v2.c
@@ -2695,6 +2695,7 @@
.name = "msm-pcm-dsp",
.owner = THIS_MODULE,
.of_match_table = msm_pcm_dt_match,
+ .suppress_bind_attrs = true,
},
.probe = msm_pcm_probe,
.remove = msm_pcm_remove,
diff --git a/asoc/msm-pcm-routing-v2.c b/asoc/msm-pcm-routing-v2.c
index d5bad0f..a69391f 100644
--- a/asoc/msm-pcm-routing-v2.c
+++ b/asoc/msm-pcm-routing-v2.c
@@ -24817,6 +24817,7 @@
.name = "msm-pcm-routing",
.owner = THIS_MODULE,
.of_match_table = msm_pcm_routing_dt_match,
+ .suppress_bind_attrs = true,
},
.probe = msm_routing_pcm_probe,
.remove = msm_routing_pcm_remove,
diff --git a/asoc/msm-pcm-voice-v2.c b/asoc/msm-pcm-voice-v2.c
index ea476c1..f8acc30 100644
--- a/asoc/msm-pcm-voice-v2.c
+++ b/asoc/msm-pcm-voice-v2.c
@@ -812,6 +812,7 @@
.name = "msm-pcm-voice",
.owner = THIS_MODULE,
.of_match_table = msm_voice_dt_match,
+ .suppress_bind_attrs = true,
},
.probe = msm_pcm_probe,
.remove = msm_pcm_remove,
diff --git a/asoc/msm-pcm-voip-v2.c b/asoc/msm-pcm-voip-v2.c
index 3bfa4d6..e2ad13b 100644
--- a/asoc/msm-pcm-voip-v2.c
+++ b/asoc/msm-pcm-voip-v2.c
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-only
-/* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2012-2019, The Linux Foundation. All rights reserved.
*/
#include <linux/init.h>
@@ -1670,6 +1670,7 @@
.name = "msm-voip-dsp",
.owner = THIS_MODULE,
.of_match_table = msm_voip_dt_match,
+ .suppress_bind_attrs = true,
},
.probe = msm_pcm_probe,
.remove = msm_pcm_remove,
diff --git a/asoc/msm-transcode-loopback-q6-v2.c b/asoc/msm-transcode-loopback-q6-v2.c
index dc41037..5d572f1 100644
--- a/asoc/msm-transcode-loopback-q6-v2.c
+++ b/asoc/msm-transcode-loopback-q6-v2.c
@@ -1695,6 +1695,7 @@
.name = "msm-transcode-loopback",
.owner = THIS_MODULE,
.of_match_table = msm_transcode_loopback_dt_match,
+ .suppress_bind_attrs = true,
},
.probe = msm_transcode_dev_probe,
.remove = msm_transcode_remove,
diff --git a/asoc/qcs405.c b/asoc/qcs405.c
index 0455748..aae7302 100644
--- a/asoc/qcs405.c
+++ b/asoc/qcs405.c
@@ -8843,6 +8843,7 @@
.owner = THIS_MODULE,
.pm = &snd_soc_pm_ops,
.of_match_table = qcs405_asoc_machine_of_match,
+ .suppress_bind_attrs = true,
},
.probe = msm_asoc_machine_probe,
.remove = msm_asoc_machine_remove,
diff --git a/asoc/sa8155.c b/asoc/sa8155.c
index 6dba206..e01b231 100644
--- a/asoc/sa8155.c
+++ b/asoc/sa8155.c
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-only
-/* Copyright (c) 2014-2018, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2014-2019, The Linux Foundation. All rights reserved.
*/
/*
* Copyright 2011, The Android Open Source Project
@@ -7220,6 +7220,7 @@
.owner = THIS_MODULE,
.pm = &snd_soc_pm_ops,
.of_match_table = sa8155_asoc_machine_of_match,
+ .suppress_bind_attrs = true,
},
.probe = msm_asoc_machine_probe,
.remove = msm_asoc_machine_remove,
diff --git a/asoc/sm6150.c b/asoc/sm6150.c
index 6a6597a..49902c8 100644
--- a/asoc/sm6150.c
+++ b/asoc/sm6150.c
@@ -9297,6 +9297,7 @@
.owner = THIS_MODULE,
.pm = &snd_soc_pm_ops,
.of_match_table = sm6150_asoc_machine_of_match,
+ .suppress_bind_attrs = true,
},
.probe = msm_asoc_machine_probe,
.remove = msm_asoc_machine_remove,
diff --git a/asoc/sm8150.c b/asoc/sm8150.c
index aad4765..3b95ce5 100644
--- a/asoc/sm8150.c
+++ b/asoc/sm8150.c
@@ -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/clk.h>
@@ -7245,6 +7245,7 @@
.owner = THIS_MODULE,
.pm = &snd_soc_pm_ops,
.of_match_table = sm8150_asoc_machine_of_match,
+ .suppress_bind_attrs = true,
},
.probe = msm_asoc_machine_probe,
.remove = msm_asoc_machine_remove,