mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-19 02:04:19 +08:00
5347a02037
The quirk code currently detects all compatible I2C chips with a shared IRQ line on all I2C busses, adds them into a list, and registers a bus notifier. For every chip for which the bus notifier triggers, the quirk code performs I2C transfer on that I2C bus for all addresses in the list. The problem is that this may generate transfers to non-existing chips on systems with multiple I2C busses. This patch adds a check to verify that the I2C bus to which the chip with shared IRQ is attached to matches the I2C bus of the chip which triggered the bus notifier and only starts the I2C transfer if they match. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Tested-by: Nguyen Viet Dung <dung.nguyen.aj@renesas.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
||
---|---|---|
.. | ||
common.h | ||
emev2.h | ||
headsmp-apmu.S | ||
headsmp-scu.S | ||
headsmp.S | ||
Kconfig | ||
Makefile | ||
platsmp-apmu.c | ||
platsmp-scu.c | ||
platsmp.c | ||
pm-rcar-gen2.c | ||
r8a7779.h | ||
rcar-gen2.h | ||
regulator-quirk-rcar-gen2.c | ||
setup-emev2.c | ||
setup-r7s9210.c | ||
setup-r7s72100.c | ||
setup-r8a73a4.c | ||
setup-r8a7740.c | ||
setup-r8a7778.c | ||
setup-r8a7779.c | ||
setup-rcar-gen2.c | ||
setup-sh73a0.c | ||
sh73a0.h | ||
smp-emev2.c | ||
smp-r8a7779.c | ||
smp-sh73a0.c | ||
suspend.c | ||
timer.c |