Commit 2511d569 authored by Michal Simek's avatar Michal Simek
Browse files

spi: Clear dma_mask for xilinx spi controller



mmc_spi driver tests if dma is available.
Microblaze systems supports DMA but xilinx_spi
controller doesn't support DMA transfers that's
why it is necessary to do this workaround to
clear dma_mask in spi controller.

mmc_spi then checks spi->master->dev.parent->dma_mask
which is cleared and dma mode is not used.

Signed-off-by: default avatarMichal Simek <monstr@monstr.eu>
parent 989765be
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment