Re: Update driver xdpe152c4.c

Guenter Roeck
2025-04-07T14:01:35Z

On 4/6/25 23:15, Wolfram Sang wrote:
>
>> Please help to review the attached Linux Kernel patch for xdpe152xx driver.
>
> To shorten things, you could return -EAGAIN as an error code, then the
> I2C core will retry the message for you. Within the configured limits
> for the controller.
>

The patch neglects to state the _reason_ for the change.

I'd like to know what causes the problem before applying a change like this.
I suspect that the chip needs either a delay between accesses or a delay
after a write. Both are supported by the PMBus core.

Guenter