diff options
-rw-r--r-- | drivers/omap_hsi/hsi_driver_int.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/omap_hsi/hsi_driver_int.c b/drivers/omap_hsi/hsi_driver_int.c index ac71bc7..c9691ac 100644 --- a/drivers/omap_hsi/hsi_driver_int.c +++ b/drivers/omap_hsi/hsi_driver_int.c @@ -62,6 +62,7 @@ bool hsi_is_channel_busy(struct hsi_channel *ch) } /* Check if a HSI port is busy : + * - ACWAKE is high * - data transfer (Write) is ongoing for a given HSI channel * - CAWAKE is high * - CAWAKE is not used (receiver in 3-wires mode) @@ -91,7 +92,7 @@ bool hsi_is_hsi_port_busy(struct hsi_port *pport) return true; } - if (cur_cawake) { + if (cur_cawake || pport->acwake_status) { dev_dbg(hsi_ctrl->dev, "Port %d: WAKE status: acwake_status %d," "cur_cawake %d", pport->port_number, pport->acwake_status, cur_cawake); |