in edma_callback, driver was doing redundant check for desc, so remove that
Reported-by: David Binderman <dcb314@hotmail.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
edesc = echan->edesc;
/* Pause the channel for non-cyclic */
edesc = echan->edesc;
/* Pause the channel for non-cyclic */
- if (!edesc || (edesc && !edesc->cyclic))
+ if (!edesc || !edesc->cyclic)
edma_pause(echan->ch_num);
switch (ch_status) {
edma_pause(echan->ch_num);
switch (ch_status) {