i2c: s3c24xx: fix read transfers in polling mode
authorMarek Szyprowski <m.szyprowski@samsung.com>
Wed, 8 Nov 2023 16:43:52 +0000 (17:43 +0100)
committerWolfram Sang <wsa@kernel.org>
Thu, 18 Jan 2024 20:10:42 +0000 (21:10 +0100)
commit0d9cf23ed55d7ba3ab26d617a3ae507863674c8f
treed07bb9f035ee461aa277de823637f6dee794e887
parentd0520eb3ed54df89eb5961ec3b88634f313123f2
i2c: s3c24xx: fix read transfers in polling mode

To properly handle read transfers in polling mode, no waiting for the ACK
state is needed as it will never come. Just wait a bit to ensure start
state is on the bus and continue processing next bytes.

Fixes: 117053f77a5a ("i2c: s3c2410: Add polling mode support")
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Chanho Park <chanho61.park@samsung.com>
Reviewed-by: Andi Shyti <andi.shyti@kernel.org>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-s3c2410.c