On Mon, Aug 04, 2014 at 05:09:56PM -0300, Emilio López wrote:

> +static int sun4i_spi_prepare_message(struct spi_master *master,
> +                                  struct spi_message *msg)
> +{
> +     struct sun4i_spi *sspi = spi_master_get_devdata(master);
> +
> +     master->dma_rx = sspi->rx_dma_chan;
> +     master->dma_tx = sspi->tx_dma_chan;
> +
> +     return 0;
> +}

Why is this being done per transfer rather than at probe time?

Attachment: signature.asc
Description: Digital signature

Reply via email to