Re: [PATCH v2 1/1] i2c: designware: set pinctrl recovery information from device pinctrl

Andy Shevchenko
2022-12-20T10:55:03Z

On Mon, Dec 19, 2022 at 09:35:37PM +0200, Hawa, Hanna wrote:
> On 12/16/2022 4:46 PM, Andy Shevchenko wrote:
> > Can be simplified with help of Elvis:
> >
> > p = bri->pinctrl ?: dev_pinctrl(dev->parent);
>
> Can't use this, as need to set the bri->pinctrl to dev_pinctrl() in case
> it's not set by the driver.

I guess you can. I will answer to the v3.

--
With Best Regards,
Andy Shevchenko