]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
spi: dw-mid: fix FIFO size
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 2 Jan 2015 15:48:51 +0000 (17:48 +0200)
committerJiri Slaby <jslaby@suse.cz>
Sun, 8 Feb 2015 19:01:50 +0000 (20:01 +0100)
commitdbaf59afa7fffbb523a32c7bf28d5a507a0896e6
tree13f0c5ef73c7a57919c290aa2baaf5b0e72184c0
parent27152be6083112b94ce6ff5186d01ec4d702ddcf
spi: dw-mid: fix FIFO size

commit 67bf9cda4b498b8cea4a40be67a470afe57d2e88 upstream.

The FIFO size is 40 accordingly to the specifications, but this means 0x40,
i.e. 64 bytes. This patch fixes the typo and enables FIFO size autodetection
for Intel MID devices.

Fixes: 7063c0d942a1 (spi/dw_spi: add DMA support)
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