linux/drivers/i2c/busses
Wolfram Sang 262f5fbad9 i2c: rcar: in slave mode, clear NACK earlier
[ Upstream commit 914a7b3563 ]

Currently, a NACK in slave mode is set/cleared when SCL is held low by
the IP core right before the bit is about to be pushed out. This is too
late for clearing and then a NACK from the previous byte is still used
for the current one. Now, let's clear the NACK right after we detected
the STOP condition following the NACK.

Fixes: de20d1857d ("i2c: rcar: add slave support")
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-09-03 11:26:55 +02:00
..
Kconfig
Makefile
i2c-acorn.c
i2c-ali15x3.c
i2c-ali1535.c
i2c-ali1563.c
i2c-altera.c i2c: altera: Fix race between xfer_msg and isr thread 2020-06-07 13:18:50 +02:00
i2c-amd-mp2-pci.c i2c: amd-mp2-pci: Fix Oops in amd_mp2_pci_init() error handling 2020-05-06 08:15:08 +02:00
i2c-amd-mp2-plat.c
i2c-amd-mp2.h
i2c-amd756-s4882.c
i2c-amd756.c
i2c-amd8111.c
i2c-aspeed.c i2c: aspeed: Avoid i2c interrupt status clear race condition. 2020-05-06 08:15:15 +02:00
i2c-at91-core.c
i2c-at91-master.c
i2c-at91-slave.c
i2c-at91.h
i2c-au1550.c
i2c-axxia.c
i2c-bcm-iproc.c i2c: iproc: fix race between client unreg and isr 2020-08-21 13:05:38 +02:00
i2c-bcm-kona.c
i2c-bcm2835.c
i2c-brcmstb.c
i2c-cadence.c Revert "i2c: cadence: Fix the hold bit setting" 2020-08-05 09:59:50 +02:00
i2c-cbus-gpio.c
i2c-cht-wc.c
i2c-cpm.c
i2c-cros-ec-tunnel.c
i2c-davinci.c
i2c-designware-baytrail.c
i2c-designware-common.c
i2c-designware-core.h
i2c-designware-master.c
i2c-designware-pcidrv.c i2c: designware-pci: Fix BUG_ON during device removal 2020-03-18 07:17:53 +01:00
i2c-designware-platdrv.c i2c: designware: platdrv: Remove DPM_FLAG_SMART_SUSPEND flag on BYT and CHT 2020-04-21 09:05:02 +02:00
i2c-designware-slave.c
i2c-digicolor.c
i2c-diolan-u2c.c
i2c-dln2.c
i2c-efm32.c
i2c-eg20t.c i2c: eg20t: Load module automatically if ID matches 2020-07-22 09:32:53 +02:00
i2c-elektor.c
i2c-emev2.c
i2c-exynos5.c
i2c-fsi.c i2c: fsi: Fix the port number field in status register 2020-06-30 15:37:02 -04:00
i2c-gpio.c i2c: gpio: suppress error on probe defer 2020-03-18 07:17:56 +01:00
i2c-highlander.c
i2c-hix5hd2.c i2c: hix5hd2: add missed clk_disable_unprepare in remove 2020-04-01 11:01:56 +02:00
i2c-hydra.c
i2c-i801.c i2c: i801: Do not add ICH_RES_IO_SMI for the iTCO_wdt device 2020-04-08 09:08:46 +02:00
i2c-ibm_iic.c
i2c-ibm_iic.h
i2c-icy.c i2c: icy: Fix build with CONFIG_AMIGA_PCMCIA=n 2020-06-24 17:50:41 +02:00
i2c-img-scb.c
i2c-imx-lpi2c.c
i2c-imx.c
i2c-iop3xx.c i2c: iop3xx: Fix memory leak in probe error path 2020-01-23 08:22:47 +01:00
i2c-iop3xx.h
i2c-isch.c
i2c-ismt.c
i2c-jz4780.c i2c: jz4780: silence log flood on txabrt 2020-03-05 16:43:45 +01:00
i2c-kempld.c
i2c-lpc2k.c
i2c-meson.c
i2c-mlxcpld.c i2c: mlxcpld: check correct size of maximum RECV_LEN packet 2020-07-09 09:37:54 +02:00
i2c-mpc.c
i2c-mt65xx.c
i2c-mt7621.c
i2c-mv64xxx.c
i2c-mxs.c
i2c-nforce2-s4985.c
i2c-nforce2.c
i2c-nomadik.c
i2c-nvidia-gpu.c i2c: nvidia-gpu: Handle timeout correctly in gpu_i2c_check_status() 2020-04-01 11:02:10 +02:00
i2c-ocores.c
i2c-octeon-core.c
i2c-octeon-core.h
i2c-octeon-platdrv.c
i2c-omap.c
i2c-opal.c
i2c-owl.c
i2c-parport-light.c
i2c-parport.c
i2c-parport.h
i2c-pasemi.c
i2c-pca-isa.c
i2c-pca-platform.c i2c: pca-platform: Use platform_irq_get_optional 2020-04-17 10:49:59 +02:00
i2c-piix4.c i2c: piix4: Detect secondary SMBus controller on AMD AM4 chipsets 2020-06-24 17:50:08 +02:00
i2c-pmcmsp.c
i2c-pnx.c
i2c-powermac.c
i2c-puv3.c
i2c-pxa-pci.c
i2c-pxa.c i2c: pxa: fix i2c_pxa_scream_blue_murder() debug output 2020-06-24 17:50:24 +02:00
i2c-qcom-geni.c i2c: i2c-qcom-geni: Fix DMA transfer race 2020-07-29 10:18:35 +02:00
i2c-qup.c
i2c-rcar.c i2c: rcar: in slave mode, clear NACK earlier 2020-09-03 11:26:55 +02:00
i2c-riic.c
i2c-rk3x.c
i2c-robotfuzz-osif.c
i2c-s3c2410.c
i2c-scmi.c
i2c-sh7760.c
i2c-sh_mobile.c
i2c-sibyte.c
i2c-simtec.c
i2c-sirf.c
i2c-sis96x.c
i2c-sis630.c
i2c-sis5595.c
i2c-sprd.c
i2c-st.c i2c: st: fix missing struct parameter description 2020-04-17 10:49:59 +02:00
i2c-stm32.c i2c: stm32f7: report dma error during probe 2020-01-26 10:01:06 +01:00
i2c-stm32.h
i2c-stm32f4.c
i2c-stm32f7.c i2c: stm32f7: report dma error during probe 2020-01-26 10:01:06 +01:00
i2c-stu300.c
i2c-sun6i-p2wi.c
i2c-synquacer.c
i2c-taos-evm.c
i2c-tegra-bpmp.c
i2c-tegra.c Revert "i2c: tegra: Fix suspending in active runtime PM state" 2020-06-30 15:36:47 -04:00
i2c-thunderx-pcidrv.c
i2c-tiny-usb.c
i2c-uniphier-f.c
i2c-uniphier.c
i2c-versatile.c
i2c-via.c
i2c-viapro.c
i2c-viperboard.c
i2c-wmt.c
i2c-xgene-slimpro.c
i2c-xiic.c
i2c-xlp9xx.c
i2c-xlr.c
i2c-zx2967.c
scx200_acb.c