Skip to content
Commit fdc7d8e8 authored by Dan Robertson's avatar Dan Robertson Committed by Guenter Roeck
Browse files

hwmon: (shtc1) fix shtc1 and shtw1 id mask



Fix an error in the bitmaskfor the shtc1 and shtw1 bitmask used to
retrieve the chip ID from the ID register. See section 5.7 of the shtw1
or shtc1 datasheet for details.

Fixes: 1a539d37 ("hwmon: add support for Sensirion SHTC1 sensor")
Signed-off-by: default avatarDan Robertson <dan@dlrobertson.com>
Link: https://lore.kernel.org/r/20190905014554.21658-3-dan@dlrobertson.com


[groeck: Reordered to be first in series and adjusted accordingly]
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 35cd1804
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment