]> git.dujemihanovic.xyz Git - u-boot.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)
commit84b4221cffa805ab525be9a2d580f40f6d9a0243
tree72a3af3c754f65c32cdb62bb230737535f54a3e8
parent3ee15a51809998dda6bb94eea85237eb9fe698f0
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