aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorIker Perez del Palomar Sustatxa <[email protected]>2019-08-01 08:53:24 +0100
committerGuenter Roeck <[email protected]>2019-08-07 14:50:49 -0700
commita95a4f3f2702b55a89393bf0f1b2b3d79e0f7da2 (patch)
tree015b2e5ac38396edee6023302ea974331ffb64fc /lib/test_overflow.c
parent38ada2f406a9b81fb1249c5c9227fa657e7d5671 (diff)
hwmon: (lm75) Fixup tmp75b clr_mask
The configuration register of the tmp75b sensor is 16bit long, however the first byte is reserved, so there is not no need to take care of it. Because the order of the bytes is little endian and it is only necessary to write one byte, the desired bits must be shifted into a 8 bit range. Fixes: 39abe9d88b30 ("hwmon: (lm75) Add support for TMP75B") Cc: [email protected] Signed-off-by: Iker Perez del Palomar Sustatxa <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions