diff options
author | Dongliang Mu <dzm91@hust.edu.cn> | 2022-11-18 22:14:06 +0800 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2022-12-14 20:01:50 +0100 |
commit | cd53860edd5e66f2faaf1bfbaef81d4be9109c82 (patch) | |
tree | 230fa7c48f7eaad44a21f9cafadc6eea3c678226 /drivers/video/logo | |
parent | ff61582e0dd7eea57ce4abbe6bdc567ff9282ed6 (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 <dzm91@hust.edu.cn>
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'drivers/video/logo')
0 files changed, 0 insertions, 0 deletions