spi: dw-mid: respect 8 bit mode
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 18 Sep 2014 17:08:51 +0000 (20:08 +0300)
committerMark Brown <broonie@kernel.org>
Wed, 24 Sep 2014 08:48:43 +0000 (09:48 +0100)
commitb41583e7299046abdc578c33f25ed83ee95b9b31
tree2f4face49ab56651f59845972c8d07cc2059d315
parent53288fe9bdc7e8a0265bbe9074f71f1a6c478008
spi: dw-mid: respect 8 bit mode

In case of 8 bit mode and DMA usage we end up with every second byte written as
0. We have to respect bits_per_word settings what this patch actually does.

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