]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
hwmon: (max34451) Work around lost page
authorWilliam A. Kennington III <william@wkennington.com>
Tue, 8 Apr 2025 01:10:06 +0000 (18:10 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 23 Apr 2025 14:18:27 +0000 (07:18 -0700)
commitab2f6bffe7311327d5f6432e413c704f395b93c3
tree35e4fe0b3db17b5350b4d1aca03d43880ee4a565
parent6de6868df18728790eb4ffe764b49f356fea7397
hwmon: (max34451) Work around lost page

When requesting new pages from the max34451 we sometimes see that the
firmware responds with stale or bad data to reads that happen
immediately after a page change. This is due to a lack of clock
stretching after page changing on the device side when it needs more
time to complete the operation.

To remedy this, the manufacturer recommends we wait 50us until
the firmware should be ready with the new page.

Signed-off-by: William A. Kennington III <william@wkennington.com>
Link: https://lore.kernel.org/r/20250408011006.1314622-1-william@wkennington.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/pmbus/max34440.c