]> git.baikalelectronics.ru Git - uboot.git/commit
i2c: uniphier-f: use readl_poll_timeout() to poll registers
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 27 Jan 2017 21:53:56 +0000 (06:53 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 29 Jan 2017 11:59:08 +0000 (20:59 +0900)
commitb53eb26c3e18a4bdf3c03a772a0465c45ebd0279
tree2b866d6fe2d8f79a0c756470677ffbe7e00a9981
parentab8548516a9c3b5eaab35e013024d159d23c0fea
i2c: uniphier-f: use readl_poll_timeout() to poll registers

The readl_poll_timeout() is a useful helper to poll registers
and error out if the condition is not met.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
drivers/i2c/i2c-uniphier-f.c