]> git.dujemihanovic.xyz Git - u-boot.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)
commit7efb4a6e09421a8ceaaaff61e28905ddec0c02a5
tree1b3fe5c4ae3f1a606f255cbc3c3c675c73c4121b
parente3665ba9d7c82f75c4dbd2057276a6990929be40
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