Commit 2afcbdb0 authored by Ziyuan's avatar Ziyuan Committed by Ulf Hansson

mmc: dw_mmc: correct outdated comment for use_dma

Since commit 3fc7eaef ("mmc: dw_mmc: Add external dma interface
support") use_dma no longer means only the data transfer mode, and
includes dma transmission channel. So make it more clear.
Signed-off-by: default avatarZiyuan <ziyuan.biubiu@gmail.com>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent c7ddaa2e
...@@ -74,7 +74,8 @@ struct dw_mci_dma_slave { ...@@ -74,7 +74,8 @@ struct dw_mci_dma_slave {
* @stop_abort: The command currently prepared for stoping transfer. * @stop_abort: The command currently prepared for stoping transfer.
* @prev_blksz: The former transfer blksz record. * @prev_blksz: The former transfer blksz record.
* @timing: Record of current ios timing. * @timing: Record of current ios timing.
* @use_dma: Whether DMA channel is initialized or not. * @use_dma: Which DMA channel is in use for the current transfer, zero
* denotes PIO mode.
* @using_dma: Whether DMA is in use for the current transfer. * @using_dma: Whether DMA is in use for the current transfer.
* @dma_64bit_address: Whether DMA supports 64-bit address mode or not. * @dma_64bit_address: Whether DMA supports 64-bit address mode or not.
* @sg_dma: Bus address of DMA buffer. * @sg_dma: Bus address of DMA buffer.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment