]> asedeno.scripts.mit.edu Git - linux.git/commit
PM / devfreq: tegra30: Handle possible round-rate error
authorDmitry Osipenko <digetx@gmail.com>
Mon, 4 Nov 2019 21:56:01 +0000 (00:56 +0300)
committerChanwoo Choi <cw00.choi@samsung.com>
Wed, 6 Nov 2019 03:04:00 +0000 (12:04 +0900)
commit7296443b900e6a432da3d6b1a7862beb83946d19
treec3a10900f617563dbb970b78070261d578716206
parentd49eeb1e838594b8fea9ac29736d7b4e949a530f
PM / devfreq: tegra30: Handle possible round-rate error

The EMC clock rate rounding technically could fail, hence let's handle
the error cases properly.

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