]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerJiri Slaby <jslaby@suse.cz>
Fri, 31 Oct 2014 14:11:10 +0000 (15:11 +0100)
commit15bc7947fa4a4cf121c46f317c6f1c349b5894d8
treef2d184f57dc16c5de6460940b469cfe7f3661ba5
parent61ede5ae220215573de66fa5937f7236ac046f21
spi: dw-mid: respect 8 bit mode

commit b41583e7299046abdc578c33f25ed83ee95b9b31 upstream.

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>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/spi/spi-dw-mid.c