Re: [PATCH v3 4/5] pinctrl: upboard: fix I2C pinmux-select set CPLD GPIO OUT not function mode
From: Andy Shevchenko
Date: Thu Nov 26 2026 - 10:31:41 EST
On Thu, Nov 26, 2026 at 05:25:37PM +0200, Andy Shevchenko wrote:
> On Thu, Nov 26, 2026 at 11:09:47PM +0800, Gary Wang wrote:
> > The CPLD I2C pin mode setting through pinmux-select is not correct.
> > Should be set UPBOARD_PIN_MODE_FUNCTION on AANT0F04 devices.
> >
> > Set UPBOARD_PIN_MODE_FUNCTION to 1 to prevent a NULL pointer
> > dereference error on .modes[i] for any pin group using this setting.
Hmm... bit how the modes[i] can be messed up here? 0 is integer
and NULL is void *...
Can you provide a compiler warning or traceback of broken kernel with this?
--
With Best Regards,
Andy Shevchenko