OSDN Git Service

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)
commitdd3f2616bb99f1d2bfd0536074824722e953f6be
tree393dc2c0c540ada74bfd29ad2c57d3a67f2bd34a
parentb061312f4bca20ed60246f7fe2e1ffa247ce5bf7
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