OSDN Git Service

drm/imx: tve: fix regulator_disable error path
authorMarco Felsch <m.felsch@pengutronix.de>
Thu, 11 Jun 2020 12:43:32 +0000 (14:43 +0200)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 20 Jul 2020 13:16:05 +0000 (15:16 +0200)
commit7bb58b987fee26da2a1665c01033022624986b7c
tree7a444f4f8796811583f940e99985265539731f4c
parentdbd1d67d9201ee1eeb770a4fa4459fa76018192f
drm/imx: tve: fix regulator_disable error path

Add missing regulator_disable() as devm_action to avoid dedicated
unbind() callback and fix the missing error handling.

Fixes: fcbc51e54d2a ("staging: drm/imx: Add support for Television Encoder (TVEv2)")
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/drm/imx/imx-tve.c