]> asedeno.scripts.mit.edu Git - linux.git/commit
PM / devfreq: tegra30: Drop write-barrier
authorDmitry Osipenko <digetx@gmail.com>
Mon, 4 Nov 2019 21:56:02 +0000 (00:56 +0300)
committerChanwoo Choi <cw00.choi@samsung.com>
Wed, 6 Nov 2019 03:04:00 +0000 (12:04 +0900)
commite7955a34a2344b5a237aabd4d8a43e30c3183b79
treed5b8275d710bdea2b520d6e104ae31f42e0d54ca
parent7296443b900e6a432da3d6b1a7862beb83946d19
PM / devfreq: tegra30: Drop write-barrier

There is no need in a write-barrier now, given that interrupt masking is
handled by CPU's GIC now. Hence we know exactly that interrupt won't fire
after stopping the devfreq's governor. In other cases we don't care about
potential buffering of the writes to hardware and thus there is no need to
stall CPU.

Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Tested-by: Peter Geis <pgwipeout@gmail.com>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/devfreq/tegra30-devfreq.c