]> git.sur5r.net Git - u-boot/commit
pinctrl: do not set_state for device without valid ofnode
authorKever Yang <kever.yang@rock-chips.com>
Wed, 18 Apr 2018 09:54:04 +0000 (17:54 +0800)
committerSimon Glass <sjg@chromium.org>
Wed, 16 May 2018 06:25:19 +0000 (00:25 -0600)
commitf717b4c8e7fc871573755a05be96c8ef857eabce
tree2512b24c8c7b9ae1bcd23c17f2908afd8d0ba7c4
parent409fc029c407291ac8c8d7fefa051a73912dc657
pinctrl: do not set_state for device without valid ofnode

Not all the udevice have a available DT node, eg. rksdmmc@ff500000.blk
which add by mmc_bind(), these device do not have/need set pinctrl
state.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/pinctrl/pinctrl-uclass.c