]> git.baikalelectronics.ru Git - uboot.git/commit
dm: omap-timer: Update clock rate only if not populated
authorLokesh Vutla <lokeshvutla@ti.com>
Thu, 16 Aug 2018 12:56:55 +0000 (18:26 +0530)
committerTom Rini <trini@konsulko.com>
Tue, 11 Sep 2018 00:48:19 +0000 (20:48 -0400)
commit2e4f7bc0151510f9df432071820f7c0783eb72ed
tree72a3af3c754f65c32cdb62bb230737535f54a3e8
parente32c04ca63abf6511b732ba37c5165014e028ad9
dm: omap-timer: Update clock rate only if not populated

timer_pre_probe() tries to populate the clock rate from DT. omap
timer driver tries to overwrite this value irrespective of the value
populated fro DT. So update this value only when DT doesn't populate
the clock rate.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
drivers/timer/omap-timer.c