BZ: 37758
HSU DMA interrupt is shared for all ports. So it is always
enabled during HSU port suspending. If TX is pending on this
port, it might trigger TX after suspend.
Change-Id: I288023543e06b6cd9312327d94c99b95dad1664f
Signed-off-by: Bin Yang <bin.yang@intel.com>
Reviewed-on: http://android.intel.com:8080/49585
Reviewed-by: Du, Alek <alek.du@intel.com>
Tested-by: Tang, HaifengX <haifengx.tang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
*/
int_sts = chan_readl(chan, HSU_CH_SR);
- if (!up->use_dma || !up->running)
+ if (!up->use_dma || !up->running || !hsu_port_is_active(up))
goto exit;
/* Rx channel */