Hi Shobhit

> -     if (gpio_is_valid(pdata->gpio_enable)) {
> -             ret = devm_gpio_request_one(dev, pdata->gpio_enable,
> -                                     GPIOF_OUT_INIT_HIGH, "sky81452-en");


> +     pdata->gpiod_enable = devm_gpiod_get(dev, "sk81452-en", GPIOD_OUT_HIGH);
> +     if (IS_ERR(pdata->gpiod_enable)) {
> +             long ret = PTR_ERR(pdata->gpiod_enable);

In the old code the property was named "sky81452-en".
In the new code the property is named "sk81452-en".

Most likely a bug.

        Sam
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Reply via email to