i2c: Consistently reject unsupported transactions
Many PC SMBus host controller drivers don't properly handle the case
where they are requested to achieve a transaction they do not support.
Update them so that the consistently print a warning message and
return a single error value in this case.
Signed-off-by:
Jean Delvare <khali@linux-fr.org>
Showing
- drivers/i2c/busses/i2c-ali1535.c 4 additions, 4 deletionsdrivers/i2c/busses/i2c-ali1535.c
- drivers/i2c/busses/i2c-ali1563.c 4 additions, 4 deletionsdrivers/i2c/busses/i2c-ali1563.c
- drivers/i2c/busses/i2c-ali15x3.c 3 additions, 3 deletionsdrivers/i2c/busses/i2c-ali15x3.c
- drivers/i2c/busses/i2c-amd756.c 3 additions, 5 deletionsdrivers/i2c/busses/i2c-amd756.c
- drivers/i2c/busses/i2c-i801.c 0 additions, 1 deletiondrivers/i2c/busses/i2c-i801.c
- drivers/i2c/busses/i2c-piix4.c 3 additions, 3 deletionsdrivers/i2c/busses/i2c-piix4.c
- drivers/i2c/busses/i2c-sis630.c 2 additions, 3 deletionsdrivers/i2c/busses/i2c-sis630.c
- drivers/i2c/busses/i2c-sis96x.c 1 addition, 7 deletionsdrivers/i2c/busses/i2c-sis96x.c
- drivers/i2c/busses/i2c-taos-evm.c 2 additions, 3 deletionsdrivers/i2c/busses/i2c-taos-evm.c
- drivers/i2c/busses/i2c-viapro.c 1 addition, 1 deletiondrivers/i2c/busses/i2c-viapro.c
Loading
Please register or sign in to comment