PM / devfreq: tegra: Don't ignore clk errors
authorDmitry Osipenko <digetx@gmail.com>
Wed, 1 May 2019 23:38:03 +0000 (02:38 +0300)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Sat, 24 Aug 2019 11:11:12 +0000 (20:11 +0900)
commit30af44fae8bdccfb21a45dfb4029f954f618d2e3
tree4653b44e81bbf89304bb673a4a0525d81438015a
parented2a8dd22a752af60282af38a47d26b227f772a7
PM / devfreq: tegra: Don't ignore clk errors

The clk_set_min_rate() could fail and in this case clk_set_rate() sets
rate to 0, which may drop EMC rate to minimum and make machine very
difficult to use.

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