]> www.infradead.org Git - users/dwmw2/linux.git/commit
i2c: at91: Fix the functionality flags of the slave-only interface
authorJean Delvare <jdelvare@suse.de>
Fri, 31 May 2024 09:19:14 +0000 (11:19 +0200)
committerAndi Shyti <andi.shyti@kernel.org>
Wed, 12 Jun 2024 16:07:33 +0000 (17:07 +0100)
commitd6d5645e5fc1233a7ba950de4a72981c394a2557
treed0f15b4f1579e9de4e262063ac77a57a90dcc3d4
parent83a7eefedc9b56fe7bfeff13b6c7356688ffa670
i2c: at91: Fix the functionality flags of the slave-only interface

When an I2C adapter acts only as a slave, it should not claim to
support I2C master capabilities.

Fixes: 9d3ca54b550c ("i2c: at91: added slave mode support")
Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Juergen Fitschen <me@jue.yt>
Cc: Ludovic Desroches <ludovic.desroches@microchip.com>
Cc: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
Cc: Andi Shyti <andi.shyti@kernel.org>
Cc: Nicolas Ferre <nicolas.ferre@microchip.com>
Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
Cc: Claudiu Beznea <claudiu.beznea@tuxon.dev>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
drivers/i2c/busses/i2c-at91-slave.c