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)
commite31abce778bc05b94d406e8cbebd9953d12e84b8
treea91c08786ebba08a6f443a2e731f09311a8aa8c1
parent0365fbd4bbc0b8f3fd3c78c16a8020ea83b3afcf
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