mirror of
https://github.com/revyos/thead-kernel.git
synced 2026-09-17 21:02:13 +02:00
Linux_SDK_V1.4.2
Signed-off-by: thead_admin <occ_thead@service.alibaba.com>
This commit is contained in:
committed by
Han Gao/Revy/Rabenda
parent
e17ac7bab2
commit
d4c68ef2c1
@@ -648,7 +648,9 @@ static int i2c_dw_irq_handler_master(struct dw_i2c_dev *dev)
|
||||
* Anytime TX_ABRT is set, the contents of the tx/rx
|
||||
* buffers are flushed. Make sure to skip them.
|
||||
*/
|
||||
regmap_write(dev->map, DW_IC_INTR_MASK, 0);
|
||||
if (!dev->dw_i2c_enable_dma) {
|
||||
regmap_write(dev->map, DW_IC_INTR_MASK, 0);
|
||||
}
|
||||
goto tx_aborted;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user