]> git.baikalelectronics.ru Git - kernel.git/commit
spi: dw-mid: convert value of dma_width to enum dma_slave_buswidth
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 9 Mar 2015 14:48:45 +0000 (16:48 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 9 Mar 2015 18:11:13 +0000 (18:11 +0000)
commitbc6a848a9970423d21120eaa400649b23d6074e3
treea91c08786ebba08a6f443a2e731f09311a8aa8c1
parent5e3f345c976132d99fbf31413d4f91d88c63b437
spi: dw-mid: convert value of dma_width to enum dma_slave_buswidth

DMAEngine has a specific type to be used for bus width. This patch converts the
code to use the values of the specific type when configure DMA transfer.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-dw-mid.c
drivers/spi/spi-dw.c