
22 Jan
2016
22 Jan
'16
4:17 p.m.
On 21 January 2016 at 19:43, Simon Glass sjg@chromium.org wrote:
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
Changes in v9: None Changes in v2: None
drivers/core/device.c | 6 ++++--
Applied to u-boot-rockchip.