OSDN Git Service

media: omap3isp: Return -EPROBE_DEFER if the required regulators can't be obtained
authorPavel Machek <pavel@ucw.cz>
Thu, 2 Mar 2017 12:45:32 +0000 (07:45 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 19 Jul 2017 19:49:45 +0000 (15:49 -0400)
commita4573084cb7596b13e0853fa97b069c8fb30b6e7
tree309fe4e46263d57df835e27037791b56e3eb601c
parenta6b687df8a8742511ae46f4363ac6a0cba0d31b1
media: omap3isp: Return -EPROBE_DEFER if the required regulators can't be obtained

If regulator returns -EPROBE_DEFER, we need to return it too, so that
omap3isp will be re-probed when regulator is ready.

Signed-off-by: Pavel Machek <pavel@ucw.cz>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/omap3isp/isp.c
drivers/media/platform/omap3isp/ispccp2.c