linux-yocto/drivers/i2c
Wolfram Sang 28f0c4c93a i2c: robotfuzz-osif: disable zero-length read messages
commit 56ad91c1aa upstream.

This driver passes the length of an i2c_msg directly to
usb_control_msg(). If the message is now a read and of length 0, it
violates the USB protocol and a warning will be printed. Enable the
I2C_AQ_NO_ZERO_LEN_READ quirk for this adapter thus forbidding 0-length
read messages altogether.

Fixes: 83e53a8f12 ("i2c: Add bus driver for for OSIF USB i2c device.")
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Cc: <stable@vger.kernel.org> # v3.14+
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Link: https://lore.kernel.org/r/20250522064234.3721-2-wsa+renesas@sang-engineering.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-07-06 11:01:38 +02:00
..
algos
busses i2c: robotfuzz-osif: disable zero-length read messages 2025-07-06 11:01:38 +02:00
muxes i2c: mux: demux-pinctrl: check initial mux selection, too 2025-01-23 17:22:54 +01:00
i2c-atr.c i2c: atr: Fix wrong include 2025-04-25 10:47:51 +02:00
i2c-boardinfo.c
i2c-core-acpi.c i2c: Force ELAN06FA touchpad I2C bus freq to 100KHz 2025-02-17 10:04:52 +01:00
i2c-core-base.c i2c: core: fix reference leak in i2c_register_adapter() 2025-01-23 17:22:53 +01:00
i2c-core-of.c
i2c-core-slave.c
i2c-core-smbus.c
i2c-core.h
i2c-dev.c i2c: dev: Fix memory leak when underlying adapter does not support I2C 2024-12-05 14:01:58 +01:00
i2c-mux.c
i2c-slave-eeprom.c
i2c-slave-testunit.c i2c: testunit: on errors, repeat NACK until STOP 2025-01-23 17:22:54 +01:00
i2c-smbus.c
i2c-stub.c
Kconfig
Makefile