summaryrefslogtreecommitdiff
path: root/drivers/fpga
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2021-04-08 14:42:20 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-05-14 11:52:29 +0300
commitae390626dc0e9fa079d6df5f0a29886fc9467b3b (patch)
tree3deb70ae9ba00ecfdec41d21deb18869fd92f05c /drivers/fpga
parentfac19292b8c1a9019f443d758117b86c2a566ef4 (diff)
downloadlinux-ae390626dc0e9fa079d6df5f0a29886fc9467b3b.tar.xz
cpufreq: armada-37xx: Fix driver cleanup when registration failed
[ Upstream commit 92963903a8e11b9576eb7249f8e81eefa93b6f96 ] Commit 8db82563451f ("cpufreq: armada-37xx: fix frequency calculation for opp") changed calculation of frequency passed to the dev_pm_opp_add() function call. But the code for dev_pm_opp_remove() function call was not updated, so the driver cleanup phase does not work when registration fails. This fixes the issue by using the same frequency in both calls. Signed-off-by: Pali Rohár <pali@kernel.org> Acked-by: Gregory CLEMENT <gregory.clement@bootlin.com> Tested-by: Tomasz Maciej Nowak <tmn505@gmail.com> Tested-by: Anders Trier Olesen <anders.trier.olesen@gmail.com> Tested-by: Philip Soares <philips@netisense.com> Fixes: 8db82563451f ("cpufreq: armada-37xx: fix frequency calculation for opp") Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/fpga')
0 files changed, 0 insertions, 0 deletions