]> 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)
commit99204c9291da20a3d203ead0e768987de1b99fc7
tree2fa68cac5492850338e6426c31648947a9f23a1c
parentb7d65746744b343701de14ca433982a3229390be
spi: dw-pci: correct number of chip selects

The commit ed5978a596c4 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: ed5978a596c4 (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