mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 12:11:40 +00:00
2d4100632f
omap_w1_read_byte() should return -1 (or 0xff) in case of
error (e.g. missing battery).
The code accidentially overwrites the variable ret and not val,
which is returned. So it will return the initial value 0 instead
of -1.
Fixes:
|
||
---|---|---|
.. | ||
masters | ||
slaves | ||
Kconfig | ||
Makefile | ||
w1_family.c | ||
w1_int.c | ||
w1_internal.h | ||
w1_io.c | ||
w1_netlink.c | ||
w1_netlink.h | ||
w1.c |