Commits
![Teresa Remmet](https://secure.gravatar.com/avatar/f71b83ec98ddf1ec218f75d0b27a4099.jpg?s=96&d=mm)
Teresa Remmet committed 0a1bd813bc2
i2c: imx: Fix ABBA deadlock again Like other i2c controllers we see deadlock issues with clock prepare mutex. I our case this came up with a clock output of a rtc connected to i2c bus. This issue has already been fixed upstream by: (d9a22d713acb) i2c: imx: avoid taking clk_prepare mutex in PM callbacks But was reintroduced by a wrongly resolved merge conflict with this commit: (42b5aa1d72c0) MLK-11403: I2C: imx: restore pin setting for i2c So again we keep the i2c clock prepared and only enable and disable it for a transfer. Signed-off-by: Teresa Remmet <t.remmet@phytec.de> Signed-off-by: Christian Hemp <c.hemp@phytec.de>