u-boot/drivers
Andrea Merello 419ddf944c I2C: cdns: Fix broken retry mechanism on arbitration lost.
In the current implementation, in case of I2C arbitration lost, a retry is
attempted; the message counter and pointer are reset to the original values
and the I2C xfer process is restart from the beginning.

However the message counter and message pointer are respectively
decremented and incremented by one before attempting any transfer, causing
the 1st transfer not to be actually retried (in case of a single transfer,
nothing is actually retried at all).

This patch fixes this: in case of retry, the 1st transfer is also retried.

Tested on a ZynqMP Kria board, with upstream older u-boot, but the involved
file and underlying logic seem basically the same.

Signed-off-by: Andrea Merello <andrea.merello@iit.it>
2023-06-05 06:54:25 +02:00
..
adc rockchip: adc: rockchip-saradc: use dev_read_addr_ptr 2023-05-06 17:28:18 +08:00
ata drivers: use dev_read_addr_ptr when cast to pointer 2023-05-06 17:28:18 +08:00
axi
bios_emulator
block sandbox: fix return type of os_filesize() 2023-04-28 11:30:17 -06:00
bootcount global: Move remaining CONFIG_SYS_* to CFG_SYS_* 2022-12-05 16:06:08 -05:00
bus bus: Optionally include TI sysc driver in SPL/TPL 2022-12-02 08:39:00 -05:00
button dm: button: add support for linux_code in button-gpio.c driver 2023-02-10 12:50:01 -05:00
cache drivers: use dev_read_addr_ptr when cast to pointer 2023-05-06 17:28:18 +08:00
clk u-boot-imx-20230525 2023-05-25 14:27:39 -04:00
core core: fdtaddr: use map_sysmem() as cast for the return (part 2) 2023-05-15 17:14:46 -04:00
cpu imx9: add i.MX93 variants support 2023-05-21 16:54:41 +02:00
crypto Correct SPL uses of HW_WATCHDOG 2023-02-10 07:41:39 -05:00
ddr ddr: imx9: update the rank setting for multi fsp support 2023-05-21 16:54:41 +02:00
demo
dfu
dma dma: ti: k3-udma: Fix channel hang on teardown 2023-03-22 12:51:15 -04:00
extcon extcon: add MAX14526 MUIC support 2023-05-02 14:23:58 -04:00
fastboot net: share fastboot boot handle logic between transports 2023-05-05 17:48:44 -04:00
firmware firmware: psci: enable DM_FLAG_PRE_RELOC 2023-04-25 15:31:28 -04:00
fpga fpga: zynqmppl: fix fpga loads command for unencrypted use case 2023-03-09 13:15:00 +01:00
fuzz
fwu-mdata FWU: Add FWU metadata access driver for GPT partitioned block devices 2022-10-31 14:47:32 -04:00
gpio drivers: use dev_read_addr_ptr when cast to pointer 2023-05-06 17:28:18 +08:00
hwspinlock
i2c I2C: cdns: Fix broken retry mechanism on arbitration lost. 2023-06-05 06:54:25 +02:00
input input: Flush the keyboard buffer before resetting it 2023-05-11 10:25:29 +08:00
iommu iommu: Implement mapping IOMMUs for PCI devices 2023-01-27 14:47:58 -05:00
led led: led_pwm: typo 'iverted' on code comment 2022-11-02 13:58:17 -04:00
mailbox
memory memory: atmel-ebi: add Atmel EBI (External Bus Interface) driver 2022-12-08 18:06:27 +02:00
mfd mfd: syscon: atmel-smc: Add new helpers to ease SMC regs manipulation 2022-12-08 18:06:27 +02:00
misc imx: move imx8 sci header file to include/firmware/imx 2023-05-21 16:54:32 +02:00
mmc mmc: rockchip_sdhci: Disable DMA mode using a device tree property 2023-05-18 08:34:45 +08:00
mtd mtd: cfi: respect reg address length 2023-05-15 10:00:30 +02:00
mux Correct SPL uses of MULTIPLEXER 2023-03-02 17:45:58 -05:00
net Merge tag 'u-boot-rockchip-20230509' of https://source.denx.de/u-boot/custodians/u-boot-rockchip 2023-05-09 12:45:49 -04:00
nvme nvme: Enable PCI bus mastering 2023-05-11 10:25:29 +08:00
pch
pci pci: apple: Add support for M2 Pro/Max 2023-05-30 15:13:44 -04:00
pci_endpoint
phy phy: rockchip: naneng-combphy: Support rk3588 2023-05-17 17:36:18 +08:00
pinctrl imx: move imx8 sci header file to include/firmware/imx 2023-05-21 16:54:32 +02:00
power imx: move imx8 sci header file to include/firmware/imx 2023-05-21 16:54:32 +02:00
pwm drivers: use dev_read_addr_ptr when cast to pointer 2023-05-06 17:28:18 +08:00
qe global: Finish CONFIG -> CFG migration 2023-01-20 12:27:24 -05:00
ram board: schneider: add RZN1 board support 2023-05-13 04:01:30 +02:00
reboot-mode reboot-mode: Add NVMEM reboot mode 2023-01-11 11:54:50 -05:00
remoteproc remoteproc: ti_k3_arm64: Change the startup of arm64 core 2023-04-24 13:18:48 -04:00
reset reset: rockchip: implement rk3588 lookup table 2023-05-17 17:36:18 +08:00
rng rockchip: rng: add trngv1 for rk3588 2023-04-21 15:16:01 +08:00
rtc drivers: rtc: add max313xx series rtc driver 2023-03-30 15:09:59 -04:00
scsi scsi: typo supporedt 2023-04-01 10:11:50 +02:00
serial serial: mxs: Add MXS AUART driver 2023-05-21 16:54:41 +02:00
smem
soc soc: soc_ti_k3: fix revision array bounds checks 2023-04-25 15:31:27 -04:00
sound test: test sandbox sound driver more rigorously 2022-12-05 17:43:21 +01:00
spi spi: rockchip_sfc: Use linux rockchip,sfc-no-dma prop 2023-05-18 08:44:04 +08:00
spmi
sysinfo sysinfo: gpio: fix loop over DT "revisions" array 2023-03-30 15:09:59 -04:00
sysreset x86: sysreset: Set up LPC only after relocation 2023-05-11 10:25:29 +08:00
tee drivers: tee: sandbox: Fix SCP03 control emulator 2023-04-28 11:30:17 -06:00
thermal imx: move imx8 sci header file to include/firmware/imx 2023-05-21 16:54:32 +02:00
timer rockchip: timer: dw-apb-timer: use regs variable with uintptr_t size 2023-05-06 17:28:18 +08:00
tpm tpm: sandbox: Change the return code when device is already open 2023-02-28 09:44:25 +02:00
ufs drivers: use dev_read_addr_ptr when cast to pointer 2023-05-06 17:28:18 +08:00
usb bootstd: usb: Avoid initing USB twice 2023-05-13 09:52:32 -04:00
video video: tweak CONFIG_SPL_VIDEO description 2023-05-15 17:14:46 -04:00
virtio virtio: Ensure PCI is set up first 2023-04-26 08:43:04 -04:00
w1
w1-eeprom
watchdog watchdog: ulp_wdog: guard reset_cpu with condition check 2023-05-21 16:54:40 +02:00
xen xen: Limit execution to EL1 only 2023-04-25 15:31:28 -04:00
Kconfig dm: extcon: add an uclass for extcon 2023-05-02 14:23:34 -04:00
Makefile - enable video support in SPL 2023-05-05 09:36:08 -04:00