mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 14:42:37 +02:00
mmc: host: rk_sdmmc: no requirement to reclaim edmac in err handle routine
Signed-off-by: lintao <lintao@rock-chips.com> Cc: xujh <xujh@rock-chips.com>
This commit is contained in:
parent
c6d94274db
commit
71bda07de2
|
|
@ -3551,8 +3551,13 @@ static void dw_mci_dealwith_timeout(struct dw_mci *host)
|
|||
ret = -ENODEV;
|
||||
return ;
|
||||
}
|
||||
|
||||
/* NO requirement to reclaim slave chn using external dmac */
|
||||
#ifdef CONFIG_MMC_DW_IDMAC
|
||||
if (host->use_dma && host->dma_ops->init)
|
||||
host->dma_ops->init(host);
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Restore the initial value at FIFOTH register
|
||||
* And Invalidate the prev_blksz with zero
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user