[PATCH 01/18] video: ssd1307fb: fix VBAT supply id
Ahmad Fatoum
a.fatoum at pengutronix.de
Mon Sep 28 11:58:25 EDT 2020
On 9/28/20 5:50 PM, Marco Felsch wrote:
> The regulator id should be given without the "-supply" suffix else the
> core is searching for "vbat-supply-supply".
>
> Fixes: bf8f62d334 ("video/ssd1307fb: add support for VBAT")
> Signed-off-by: Marco Felsch <m.felsch at pengutronix.de>
Reviewed-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
> ---
> drivers/video/ssd1307fb.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/video/ssd1307fb.c b/drivers/video/ssd1307fb.c
> index 0709399358..994f43dc5c 100644
> --- a/drivers/video/ssd1307fb.c
> +++ b/drivers/video/ssd1307fb.c
> @@ -421,7 +421,7 @@ static int ssd1307fb_probe(struct device_d *dev)
> goto fb_alloc_error;
> }
>
> - par->vbat = regulator_get(&client->dev, "vbat-supply");
> + par->vbat = regulator_get(&client->dev, "vbat");
> if (IS_ERR(par->vbat)) {
> dev_info(&client->dev, "Will not use VBAT");
> par->vbat = NULL;
>
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list