Re: [PATCH 5/8] SH: Add SDHI DMA support to ecovec

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Apr 21, 2010 at 11:37 AM, Guennadi Liakhovetski
<g.liakhovetski@xxxxxx> wrote:
> @@ -442,6 +444,8 @@ static void sdhi0_set_pwr(struct platform_device *pdev, int state)
>  }
>
>  static struct sh_mobile_sdhi_info sdhi0_info = {
> +       .dma_slave_tx = SHDMA_SLAVE_SDHI0_TX,
> +       .dma_slave_rx = SHDMA_SLAVE_SDHI0_RX,
>        .set_pwr = sdhi0_set_pwr,
>  };
>
> @@ -478,6 +482,9 @@ static void sdhi1_set_pwr(struct platform_device *pdev, int state)
>  }
>
>  static struct sh_mobile_sdhi_info sdhi1_info = {
> +       .dma_slave_tx = SHDMA_SLAVE_SDHI1_TX,
> +       .dma_slave_rx = SHDMA_SLAVE_SDHI1_RX,
> +       .tmio_flags = TMIO_DEFER_RX_COMPLETE,

This is a bit odd. How come SDHI1 needs this flag and SDHI0 doesn't?

/ magnus
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux