mirror of https://gitee.com/openkylin/linux.git
2f6055c26f
DS18B20 device driver returns an incorrect value for negative temperatures
due to a missing sign-extension in w1_DS18B20_convert_temp().
Fix by using s16 temperature value when converting to int.
Fixes:
|
||
---|---|---|
.. | ||
masters | ||
slaves | ||
Kconfig | ||
Makefile | ||
w1.c | ||
w1_family.c | ||
w1_int.c | ||
w1_internal.h | ||
w1_io.c | ||
w1_netlink.c | ||
w1_netlink.h |