]> git.dujemihanovic.xyz Git - u-boot.git/commit
i2c: rcar_iic: Read ICSR only once
authorMarek Vasut <marek.vasut@gmail.com>
Thu, 7 Mar 2019 02:41:08 +0000 (03:41 +0100)
committerHeiko Schocher <hs@denx.de>
Thu, 7 Mar 2019 05:20:09 +0000 (06:20 +0100)
commiteb54682e91a0a3f9ca8629d67c5195ae54cfb1e9
tree84c821ee03d91cdc4c685074bc7ce0443dd0d4c8
parentf08023c07d826fbc8e62fdd3367961b2f0b06844
i2c: rcar_iic: Read ICSR only once

Read ICSR only once to avoid missing interrupts. This happens on R8A7791
Porter during reset, when reading the PMIC register 0x13, which may fail
sometimes because of the missed DTE interrupt.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Heiko Schocher <hs@denx.de>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Reviewed-by: Heiko Schocher <hs@denx.de>
drivers/i2c/rcar_iic.c