summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2019-04-27 12:09:05 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2019-04-29 09:08:33 +0200
commit5352e27eb4e2c43bc6572bf0320177683068eb8e (patch)
tree293d54dba37c8e6aad9ece205eec52ac86db718e /Documentation
parentf0430fb6ffaef95377d249eb448325a5ac3e4db9 (diff)
downloadbarebox-5352e27eb4e2c43bc6572bf0320177683068eb8e.tar.gz
barebox-5352e27eb4e2c43bc6572bf0320177683068eb8e.tar.xz
clk: vf610: improve handling case that cpu frequency can't be changed
Currently we get a nasty error message if the cpu clock can't be changed: DDRC is clocked by PLL1, can't switch CPU clockinitcall vf610_switch_cpu_clock+0x1/0x198 failed: Invalid argument So let's do the following: - factor out the check from vf610_switch_cpu_clock_to_500mhz() and vf610_switch_cpu_clock_to_400mhz - if clock can't be changed, don't treat it as an error - don't call clock notifier chain if clock can't be changed - add trailing newline to the warning message Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Reviewed-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions