dma: dw: fix the return value check
The WAIT_FOR() function returns the value of checked expression. So fix
the return value check to log and return the timeout error when checking
if the FIFO is empty during stop.
Signed-off-by:
Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Loading
Please sign in to comment