dm: video: bridge: don't fail to activate bridge if reset or sleep GPIO is missing
authorVasily Khoruzhick <anarsoul@gmail.com>
Tue, 6 Nov 2018 04:24:29 +0000 (20:24 -0800)
committerJagan Teki <jagan@amarulasolutions.com>
Tue, 13 Nov 2018 16:38:23 +0000 (22:08 +0530)
commit8336a43792a103c13d939b3925cb75322911f7fb
tree82baa67470899e5e9402267b8db4b093020bc9f0
parent20940ef2a397446a209350900d3bd618c3fd5b94
dm: video: bridge: don't fail to activate bridge if reset or sleep GPIO is missing

Both GPIOs are optional, so we shouldn't fail if any is missing.
Without this fix reset is not deasserted if sleep GPIO is missing.

Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Tested-by: Maxime Ripard <maxime.ripard@bootlin.com>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Cc: Vagrant Cascadian <vagrant@debian.org>
drivers/video/bridge/video-bridge-uclass.c