]> git.baikalelectronics.ru Git - kernel.git/commit
spi: dw-pci: correct number of chip selects
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 23 Feb 2015 15:55:54 +0000 (17:55 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 24 Feb 2015 07:59:32 +0000 (16:59 +0900)
commitf821c37ee4e2a64a7f1a18b94be322014d15fe37
tree2fa68cac5492850338e6426c31648947a9f23a1c
parent9cbe621030a9cce16d27329dac74fd4b1c1d9412
spi: dw-pci: correct number of chip selects

The commit cd262abd1402 brought a second controller to the list of supported
devices and changed a number of the chip selects. Besides the previous number
was wrong anyway the mentioned patch makes it wrong again meanwhile has a
proper numbers in the commit message. Indeed, SPI1 has 5 bits and SPI2 has 2
bits, but it does not mean to have power of two of this bits as a possible
number of the chip selects. So, this patch fixes it eventually.

Fixes: cd262abd1402 (spi: dw-pci: describe Intel MID controllers better)
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-pci.c