aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorDongliang Mu <[email protected]>2022-11-18 22:14:06 +0800
committerHelge Deller <[email protected]>2022-12-14 20:01:50 +0100
commitcd53860edd5e66f2faaf1bfbaef81d4be9109c82 (patch)
tree230fa7c48f7eaad44a21f9cafadc6eea3c678226 /lib/mpi/mpi-sub-ui.c
parentff61582e0dd7eea57ce4abbe6bdc567ff9282ed6 (diff)
fbdev: da8xx-fb: add missing regulator_disable() in fb_probe
The error handling code in fb_probe misses regulator_disable if regulator_enable is called successfully. The previous commit only adds regulator_disable in the .remove(), forgetting the error handling code in the .probe. Fix this by adding a new error label to call regulator_disable. Fixes: 611097d5daea("fbdev: da8xx: add support for a regulator") Signed-off-by: Dongliang Mu <[email protected]> Signed-off-by: Helge Deller <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions