Skip to content
Commit 91f27958 authored by Manuel Lauss's avatar Manuel Lauss Committed by Jean Delvare
Browse files

i2c-au1550: properly terminate zero-byte transfers



Zero-bytes transfers would leave the bus transaction unfinished
(no i2c stop is sent), with the following transfer actually
sending the slave address to the previously addressed device,
resulting in weird device failures (e.g. reset minute register
values in my RTC).
This patch instructs the controller to send an I2C STOP right after
the slave address in case of a zero-byte transfer.

Signed-off-by: default avatarManuel Lauss <mano@roarinelk.homelinux.net>
Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
parent 4bd28ebd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment