Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
i2c: imx: Use correct function to write to register
The i2c-imx driver incorrectly uses readb()/writeb() to read and write to the appropriate registers when performing a repeated start. The appropriate imx_i2c_read_reg()/imx_i2c_write_reg() functions should be used instead. Performing a repeated start results in a kernel panic. The platform is imx. Signed-off-by: Michail G Etairidis <[email protected]> Fixes: ce1a788 ("i2c: imx: add DMA support for freescale i2c driver") Fixes: 054b62d ("i2c: imx: fix the i2c bus hang issue when do repeat restart") Acked-by: Fugang Duan <[email protected]> Acked-by: Uwe Kleine-König <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
- Loading branch information