WSL2-Linux-Kernel/drivers/i2c/busses
Wolfram Sang 844990daa2 i2c: mxs: only flag completion when queue is completely done
The hardware generates an interrupt for every completed command in the
queue while the code assumed that it will only generate one interrupt
when the queue is empty. So, explicitly check if the queue is really
empty. This patch fixed problems which occurred due to high traffic on
the bus. While we are here, move the completion-initialization after the
parameter error checking.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Cc: Shawn Guo <shawn.guo@linaro.org>
Cc: Marek Vasut <marek.vasut@gmail.com>
Cc: Lothar Waßmann <LW@KARO-electronics.de>
Cc: stable@kernel.org
2012-02-24 22:28:27 +01:00
..
Kconfig i2c-eg20t: Support new device LAPIS Semiconductor ML7831 IOH 2012-01-17 23:29:52 +00:00
Makefile i2c-designware: Add support for Designware core behind PCI devices. 2011-10-29 11:03:52 +01:00
i2c-acorn.c
i2c-ali15x3.c i2c: Convert to DEFINE_PCI_DEVICE_TABLE 2012-01-12 20:32:04 +01:00
i2c-ali1535.c i2c-ali1535: enable SPARC support 2012-01-12 20:32:04 +01:00
i2c-ali1563.c i2c: Convert to DEFINE_PCI_DEVICE_TABLE 2012-01-12 20:32:04 +01:00
i2c-amd756-s4882.c
i2c-amd756.c i2c: Convert to DEFINE_PCI_DEVICE_TABLE 2012-01-12 20:32:04 +01:00
i2c-amd8111.c i2c: Convert to DEFINE_PCI_DEVICE_TABLE 2012-01-12 20:32:04 +01:00
i2c-at91.c i2c/busses: Use module_platform_driver() 2012-01-12 20:32:04 +01:00
i2c-au1550.c i2c/busses: Use module_platform_driver() 2012-01-12 20:32:04 +01:00
i2c-bfin-twi.c i2c: irq: Remove IRQF_DISABLED 2011-10-29 09:55:45 +01:00
i2c-cpm.c i2c/busses: Use module_platform_driver() 2012-01-12 20:32:04 +01:00
i2c-davinci.c
i2c-designware-core.c i2c-designware: Add runtime power management support 2011-10-29 11:03:53 +01:00
i2c-designware-core.h i2c-designware: Add runtime power management support 2011-10-29 11:03:53 +01:00
i2c-designware-pcidrv.c i2c: Convert to DEFINE_PCI_DEVICE_TABLE 2012-01-12 20:32:04 +01:00
i2c-designware-platdrv.c i2c-designware: add OF binding support 2011-12-27 15:52:44 -06:00
i2c-diolan-u2c.c USB: convert some miscellanies drivers to use module_usb_driver() 2011-11-18 09:52:10 -08:00
i2c-eg20t.c i2c-eg20t: Change-company-name-OKI-SEMICONDUCTOR to LAPIS Semiconductor 2012-01-17 23:29:56 +00:00
i2c-elektor.c
i2c-gpio.c
i2c-highlander.c Autogenerated GPG tag for Rusty D1ADB8F1: 15EE 8D6C AB0E 7F0C F999 BFCB D920 0E6C D1AD B8F1 2012-01-14 12:32:16 -08:00
i2c-hydra.c i2c: Convert to DEFINE_PCI_DEVICE_TABLE 2012-01-12 20:32:04 +01:00
i2c-i801.c i2c: Convert to DEFINE_PCI_DEVICE_TABLE 2012-01-12 20:32:04 +01:00
i2c-ibm_iic.c Autogenerated GPG tag for Rusty D1ADB8F1: 15EE 8D6C AB0E 7F0C F999 BFCB D920 0E6C D1AD B8F1 2012-01-14 12:32:16 -08:00
i2c-ibm_iic.h
i2c-imx.c i2c-imx: add device tree probe support 2011-09-14 22:16:14 +01:00
i2c-intel-mid.c i2c: Convert to DEFINE_PCI_DEVICE_TABLE 2012-01-12 20:32:04 +01:00
i2c-iop3xx.c i2c/busses: Use module_platform_driver() 2012-01-12 20:32:04 +01:00
i2c-iop3xx.h
i2c-isch.c i2c/busses: Use module_platform_driver() 2012-01-12 20:32:04 +01:00
i2c-ixp2000.c i2c/busses: Use module_platform_driver() 2012-01-12 20:32:04 +01:00
i2c-mpc.c i2c/busses: Use module_platform_driver() 2012-01-12 20:32:04 +01:00
i2c-mv64xxx.c i2c/busses: Use module_platform_driver() 2012-01-12 20:32:04 +01:00
i2c-mxs.c i2c: mxs: only flag completion when queue is completely done 2012-02-24 22:28:27 +01:00
i2c-nforce2-s4985.c
i2c-nforce2.c i2c: Convert to DEFINE_PCI_DEVICE_TABLE 2012-01-12 20:32:04 +01:00
i2c-nomadik.c Merge branches 'for-32/i2c/nomadik', 'for-32/i2c/s3c2410-dt' and 'for-32/i2c/tegra-iomem' into for-linus/i2c-3.2 2011-11-01 00:54:17 +00:00
i2c-nuc900.c ARM: 7175/1: add subname parameter to mfp_set_groupg callers 2011-11-26 21:58:54 +00:00
i2c-ocores.c i2c/busses: Use module_platform_driver() 2012-01-12 20:32:04 +01:00
i2c-octeon.c i2c/busses: Use module_platform_driver() 2012-01-12 20:32:04 +01:00
i2c-omap.c i2c: OMAP: Fix OMAP1 build error 2012-01-20 08:24:22 -08:00
i2c-parport-light.c
i2c-parport.c
i2c-parport.h
i2c-pasemi.c i2c: Convert to DEFINE_PCI_DEVICE_TABLE 2012-01-12 20:32:04 +01:00
i2c-pca-isa.c
i2c-pca-platform.c i2c/busses: Use module_platform_driver() 2012-01-12 20:32:04 +01:00
i2c-piix4.c i2c: Convert to DEFINE_PCI_DEVICE_TABLE 2012-01-12 20:32:04 +01:00
i2c-pmcmsp.c i2c/busses: Use module_platform_driver() 2012-01-12 20:32:04 +01:00
i2c-pnx.c
i2c-powermac.c i2c/busses: Use module_platform_driver() 2012-01-12 20:32:04 +01:00
i2c-puv3.c i2c-puv3: using module_platform_driver() 2012-01-10 10:29:41 +08:00
i2c-pxa-pci.c i2c: Convert to DEFINE_PCI_DEVICE_TABLE 2012-01-12 20:32:04 +01:00
i2c-pxa.c i2c: Allow i2c_add_numbered_adapter() to assign a bus id 2011-07-25 17:49:43 +02:00
i2c-s3c2410.c i2c-s3c2410: Fix return code of s3c24xx_i2c_parse_dt_gpio 2011-12-18 11:44:49 +00:00
i2c-s6000.c i2c: Allow i2c_add_numbered_adapter() to assign a bus id 2011-07-25 17:49:43 +02:00
i2c-s6000.h
i2c-scmi.c
i2c-sh7760.c i2c/busses: Use module_platform_driver() 2012-01-12 20:32:04 +01:00
i2c-sh_mobile.c i2c: irq: Remove IRQF_DISABLED 2011-10-29 09:55:45 +01:00
i2c-sibyte.c
i2c-simtec.c i2c/busses: Use module_platform_driver() 2012-01-12 20:32:04 +01:00
i2c-sis96x.c i2c: Convert to DEFINE_PCI_DEVICE_TABLE 2012-01-12 20:32:04 +01:00
i2c-sis630.c Autogenerated GPG tag for Rusty D1ADB8F1: 15EE 8D6C AB0E 7F0C F999 BFCB D920 0E6C D1AD B8F1 2012-01-14 12:32:16 -08:00
i2c-sis5595.c i2c: Convert to DEFINE_PCI_DEVICE_TABLE 2012-01-12 20:32:04 +01:00
i2c-stu300.c i2c: irq: Remove IRQF_DISABLED 2011-10-29 09:55:45 +01:00
i2c-stub.c
i2c-taos-evm.c
i2c-tegra.c i2c: tegra: Add devexit_p() for remove 2012-02-06 18:32:45 -08:00
i2c-tiny-usb.c USB: convert some miscellanies drivers to use module_usb_driver() 2011-11-18 09:52:10 -08:00
i2c-versatile.c
i2c-via.c i2c: Convert to DEFINE_PCI_DEVICE_TABLE 2012-01-12 20:32:04 +01:00
i2c-viapro.c Autogenerated GPG tag for Rusty D1ADB8F1: 15EE 8D6C AB0E 7F0C F999 BFCB D920 0E6C D1AD B8F1 2012-01-14 12:32:16 -08:00
i2c-xiic.c i2c/busses: Use module_platform_driver() 2012-01-12 20:32:04 +01:00
scx200_acb.c i2c: Convert to DEFINE_PCI_DEVICE_TABLE 2012-01-12 20:32:04 +01:00
scx200_i2c.c