mirror of
https://github.com/commaai/agnos-kernel-sdm845.git
synced 2026-06-08 11:24:51 +08:00
devfreq: suppress platform driver bind / unbind feature.
For arm-memlat and bimc-hwmon platform driver does not support the manual bind / unbind feature through sysfs, when the governor is registered and started. Suppress the bind / unbind calls using driver attribute. Change-Id: I8287012e1e6931d80953382f3d625223315cec85 Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
This commit is contained in:
@@ -420,6 +420,7 @@ static struct platform_driver arm_memlat_mon_driver = {
|
||||
.driver = {
|
||||
.name = "arm-memlat-mon",
|
||||
.of_match_table = memlat_match_table,
|
||||
.suppress_bind_attrs = true,
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
@@ -1128,6 +1128,7 @@ static struct platform_driver bimc_bwmon_driver = {
|
||||
.driver = {
|
||||
.name = "bimc-bwmon",
|
||||
.of_match_table = bimc_bwmon_match_table,
|
||||
.suppress_bind_attrs = true,
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user