Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "i2c: designware: detect when dynamic tar update is possible"
commit 12688dc upstream. This reverts commit 63d0f0a. It caused a regression on platforms where I2C controller is synthesized with dynamic TAR update disabled. Detection code is testing is bit DW_IC_CON_10BITADDR_MASTER in register DW_IC_CON read-only but fails to restore original value in case bit is read-write. Instead of fixing this we revert the commit since it was preparation for the commit 0317e6c ("i2c: designware: do not disable adapter after transfer") which was also reverted. Reported-by: Shah Nehal-Bakulchandra <[email protected]> Reported-by: Suravee Suthikulpanit <[email protected]> Acked-By: Lucas De Marchi <[email protected]> Fixes: 63d0f0a ("i2c: designware: detect when dynamic tar update is possible") Signed-off-by: Jarkko Nikula <[email protected]> Signed-off-by: Wolfram Sang <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information