diff options
author | Hector.Yuan <hector.yuan@mediatek.com> | 2021-10-29 13:42:23 +0200 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2021-12-27 05:14:53 +0100 |
commit | d776790a55367b9313d03c364c04ff47e7f5ea83 (patch) | |
tree | 1d89c2b7bdb4595aaad80152bbde105b0a14de3e /drivers/platform/x86/dell/Kconfig | |
parent | cpufreq: qcom-hw: Use optional irq API (diff) | |
download | linux-d776790a55367b9313d03c364c04ff47e7f5ea83.tar.xz linux-d776790a55367b9313d03c364c04ff47e7f5ea83.zip |
cpufreq: mediatek-hw: Fix double devm_remap in hotplug case
When hotpluging policy cpu, cpu policy init will be called multiple times.
Unplug CPU7 -> CPU6 -> CPU5 -> CPU4, then plug CPU4 again.
In this case, devm_remap will double remap and resource allocate fail.
So replace devm_remap to ioremap and release resources in cpu policy exit.
Signed-off-by: Hector.Yuan <hector.yuan@mediatek.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/platform/x86/dell/Kconfig')
0 files changed, 0 insertions, 0 deletions