|
@@ -209,7 +209,10 @@ static void i2c_dw_xfer_init(struct dw_i2c_dev *dev)
|
|
i2c_dw_disable_int(dev);
|
|
i2c_dw_disable_int(dev);
|
|
|
|
|
|
/* Enable the adapter */
|
|
/* Enable the adapter */
|
|
- __i2c_dw_enable_and_wait(dev, true);
|
|
|
|
|
|
+ __i2c_dw_enable(dev, true);
|
|
|
|
+
|
|
|
|
+ /* Dummy read to avoid the register getting stuck on Bay Trail */
|
|
|
|
+ dw_readl(dev, DW_IC_ENABLE_STATUS);
|
|
|
|
|
|
/* Clear and enable interrupts */
|
|
/* Clear and enable interrupts */
|
|
dw_readl(dev, DW_IC_CLR_INTR);
|
|
dw_readl(dev, DW_IC_CLR_INTR);
|