]> git.baikalelectronics.ru Git - uboot.git/commit
dm: timer: Skip device that does not have a valid ofnode in pre_probe()
authorBin Meng <bmeng.cn@gmail.com>
Fri, 5 Jul 2019 16:23:15 +0000 (09:23 -0700)
committerSimon Glass <sjg@chromium.org>
Wed, 24 Jul 2019 19:54:08 +0000 (12:54 -0700)
commit131eabc30840984524d76e475dc859f91e18560e
tree1b3fe5c4ae3f1a606f255cbc3c3c675c73c4121b
parent4f631381c965741fb542fa008b3ee357450ee4e1
dm: timer: Skip device that does not have a valid ofnode in pre_probe()

It is possible that a timer device has a null ofnode, hence there is
no need to further parse DT for the clock rate.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/timer/timer-uclass.c