reset: allow drivers to request probe deferral
authorPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 18 Jul 2013 11:55:22 +0000 (13:55 +0200)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 3 Feb 2014 09:19:39 +0000 (10:19 +0100)
commit3d10302048ab672d1e8993b8a5b50d9e35881853
tree8bed8caabb2001e8dbf0daab85b24fe31b9442de
parent38dbfb59d1175ef458d006556061adeaa8751b72
reset: allow drivers to request probe deferral

If the requested reset controller is not yet available, have reset_control_get
and device_reset return -EPROBE_DEFER so the driver can decide to request
probe deferral.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
drivers/reset/core.c