]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: npcm7xx: Fix timeout calculation
authorTali Perry <tali.perry1@gmail.com>
Sun, 30 Aug 2020 21:31:21 +0000 (00:31 +0300)
committerWolfram Sang <wsa@kernel.org>
Tue, 8 Sep 2020 06:24:59 +0000 (08:24 +0200)
commitc7aa5906f011e5de14ef40be817878e7ac05d24d
tree01938fb3996186383132b032f2b653a7c3d49c23
parent9d314c4d53fdbaeff121a0893324d08cb4107329
i2c: npcm7xx: Fix timeout calculation

timeout_usec value calculation was wrong, the calculated value
was in msec instead of usec.

Fixes: e093ed527ef9 ("i2c: npcm7xx: Add Nuvoton NPCM I2C controller driver")
Signed-off-by: Tali Perry <tali.perry1@gmail.com>
Reviewed-by: Avi Fishman <avifishman70@gmail.com>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Reviewed-by: Alex Qiu <xqiu@google.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-npcm7xx.c