summaryrefslogtreecommitdiff
path: root/include/dm
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-01-21 19:43:25 -0700
committerSimon Glass <sjg@chromium.org>2016-01-21 20:42:34 -0700
commit0379597e55c17519be36fdf357d4463279da5aca (patch)
treedfa3d1fa88721295529fb9aeda56e9c71029ae63 /include/dm
parentb6517a0d024f7430dac6bed97fac296f42d5c66b (diff)
downloadu-boot-imx-0379597e55c17519be36fdf357d4463279da5aca.zip
u-boot-imx-0379597e55c17519be36fdf357d4463279da5aca.tar.gz
u-boot-imx-0379597e55c17519be36fdf357d4463279da5aca.tar.bz2
dm: core: Don't set pinctrl for pinctrl devices
There is sort-of race condition when a pinctrl device is probed. The pinctrl function is called which may end up using the same device as is being probed. This results in operations being used before the device is actually probed. For now, disallow pinctrl operations on pinctrl devices while probing. An alternative solution would be to move the operation to later in the device_probe() function (for pinctrl devices only) but this needs more thought. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/dm')
0 files changed, 0 insertions, 0 deletions