mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-17 17:24:17 +08:00
1ecac07aba
The i2c-algo-bit driver doesn't behave well on read errors: it'll bail out without even sending a stop condition on the bus, so the bus will be stuck. So make sure that we always send a stop condition on the bus before we leave. The best way to make sure is to always send it at the end of function bit_xfer. Signed-off-by: Jean Delvare <khali@linux-fr.org> |
||
---|---|---|
.. | ||
algos | ||
busses | ||
chips | ||
i2c-core.c | ||
i2c-dev.c | ||
Kconfig | ||
Makefile |