hwmon: (pmbus/ucd9000) Increase delay from 250 to 500us
authorLakshmi Yadlapati <lakshmiy@us.ibm.com>
Tue, 7 May 2024 19:46:03 +0000 (14:46 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 May 2024 09:51:05 +0000 (11:51 +0200)
commit1a6be4e7079055e7ed959cf5b98306423a49ab7a
tree2a5a761dcb96208068ced70bdf60a828c81c084a
parent9518b79bfd2fbf99fa9b7e8e36bcb1825e7ba030
hwmon: (pmbus/ucd9000) Increase delay from 250 to 500us

commit 26e8383b116d0dbe74e28f86646563ab46d66d83 upstream.

Following the failure observed with a delay of 250us, experiments were
conducted with various delays. It was found that a delay of 350us
effectively mitigated the issue.

To provide a more optimal solution while still allowing a margin for
stability, the delay is being adjusted to 500us.

Signed-off-by: Lakshmi Yadlapati <lakshmiy@us.ibm.com>
Link: https://lore.kernel.org/r/20240507194603.1305750-1-lakshmiy@us.ibm.com
Fixes: 8d655e6523764 ("hwmon: (ucd90320) Add minimum delay between bus accesses")
Reviewed-by: Eddie James <eajames@linux.ibm.com>
Cc: stable@vger.kernel.org
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hwmon/pmbus/ucd9000.c