]> git.baikalelectronics.ru Git - kernel.git/commit
PM / devfreq: tegra: Drop primary interrupt handler
authorDmitry Osipenko <digetx@gmail.com>
Wed, 1 May 2019 23:38:05 +0000 (02:38 +0300)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Sat, 24 Aug 2019 11:11:12 +0000 (20:11 +0900)
commit34b70f15be47a39c4dd0c20b8d4195a3d7ba3687
tree393dc2c0c540ada74bfd29ad2c57d3a67f2bd34a
parentf51092ecf88d8fdc6d97686f26e6daf16966869f
PM / devfreq: tegra: Drop primary interrupt handler

There is no real need in the primary interrupt handler, hence move
everything to the secondary (threaded) handler. In a result locking
is consistent now and there are no potential races with the interrupt
handler because it is protected with the devfreq's mutex.

Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
drivers/devfreq/tegra-devfreq.c