spi: dw-mid: fix FIFO size
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 2 Jan 2015 15:48:51 +0000 (17:48 +0200)
committerBen Hutchings <ben@decadent.org.uk>
Fri, 20 Feb 2015 00:49:33 +0000 (00:49 +0000)
commit48bcfa6c64a2b8a716e7b1b02ef7a0a8cbe9ecc3
tree386853c6ea5ee7987a1b036227291d59a7c6ef35
parent250dbefd2d4437e39fef2ff3b0ee121267a5c688
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: Ben Hutchings <ben@decadent.org.uk>
drivers/spi/spi-dw-mid.c