i2c: pnx: Fix timeout in wait functions
[ Upstream commit 7363f2d4 ] Since commit f63b94be ("i2c: pnx: Fix potential deadlock warning from del_timer_sync() call in isr") jiffies are stored in i2c_pnx_algo_data.timeout, but wait_timeout and wait_reset are still using it as milliseconds. Convert jiffies back to milliseconds to wait for the expected amount of time. Fixes: f63b94be ("i2c: pnx: Fix potential deadlock warning from del_timer_sync() call in isr") Signed-off-by:Vladimir Riabchun <ferr.lambarginio@gmail.com> Signed-off-by:
Andi Shyti <andi.shyti@kernel.org> Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading
Please register or sign in to comment