summary refs log tree commit diff
path: root/drivers/hwmon/lm95241.c
diff options
context:
space:
mode:
authorEddie James <eajames@linux.ibm.com>2021-02-09 11:12:34 -0600
committerJoel Stanley <joel@jms.id.au>2021-06-04 14:29:58 +0930
commit75028ef4583091c355ac78ef03b64fc8f1f87909 (patch)
tree72174900075024599cd88a76db7c2bb80c4f14da /drivers/hwmon/lm95241.c
parent614f0a50c9df6e56e555b66f2bdd0495d4c4aef1 (diff)
downloadlinux-75028ef4583091c355ac78ef03b64fc8f1f87909.tar.gz
hwmon: (occ) Start sequence number at one
Initialize the sequence number at one, rather than zero, in order
to prevent false matches with the zero-initialized OCC SRAM
buffer before the OCC is fully initialized.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20210209171235.20624-4-eajames@linux.ibm.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'drivers/hwmon/lm95241.c')
0 files changed, 0 insertions, 0 deletions