mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02:00
drivers/perf: Prevent forced unbinding of ARM_DMC620_PMU drivers
Set "suppress_bind_attrs" to true, so that bind/unbind can be disabled via sysfs and prevent unbinding ARM_DMC620_PMU drivers during perf sampling. Signed-off-by: Qi Liu <liuqi115@huawei.com> Link: https://lore.kernel.org/r/1612252686-50329-1-git-send-email-liuqi115@huawei.com Signed-off-by: Will Deacon <will@kernel.org>
This commit is contained in:
@@ -717,6 +717,7 @@ static struct platform_driver dmc620_pmu_driver = {
|
||||
.driver = {
|
||||
.name = DMC620_DRVNAME,
|
||||
.acpi_match_table = dmc620_acpi_match,
|
||||
.suppress_bind_attrs = true,
|
||||
},
|
||||
.probe = dmc620_pmu_device_probe,
|
||||
.remove = dmc620_pmu_device_remove,
|
||||
|
Reference in New Issue
Block a user