Re: [BUG] hwmon: (spd5118) resume fails -ENXIO on write protected hubs
Guenter Roeck <[email protected]>
| Newsgroups | org.kernel.vger.linux-hwmon,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On 8/17/26 22:00, Armin Wolf wrote: ... >>> >>> Looking into the code, it seems like the device may have been instantiated >>> through the detect path. That makes me wonder which distribution enables >>> CONFIG_SENSORS_SPD5118_DETECT because it should _not_ be enabled by default. >>> >>> Anyway, I guess I'll have to implement a dummy write operation in >>> spd5118_i2c_init() to check if writes are possible and bail out on error. >>> That is less than perfect but the best we can do without a flag from the >>> I2C controller. >>> >>> I'll look into that after the commit window closes. >>> >>> Thanks, >>> Guenter >> >> I already have prepared two patches for that, i will test them on my machine as soon as possible. >> >> Thanks, >> Armin Wolf > > Both patches seems to work, but i do not have an DDR5-based Intel system and hand. Still, do you want > me to send those patches when the new merge window opens? > Please do. We should see a couple of patches applied to the spd5118 driver during the commit window, adding I3C support, so please remember to rebase your patches on top of v7.3-rc1 before you send them. Thanks, Guenter