From: Andy Shevchenko Date: Mon, 23 Feb 2015 15:55:54 +0000 (+0200) Subject: spi: dw-pci: correct number of chip selects X-Git-Tag: omap-for-v4.1/wl12xx-dt~37^2^4~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=307ed83c8c2004c9eb022e8eab326d494223e4ba;p=pandora-kernel.git spi: dw-pci: correct number of chip selects The commit d58cf5ff6500 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: d58cf5ff6500 (spi: dw-pci: describe Intel MID controllers better) Signed-off-by: Andy Shevchenko Signed-off-by: Mark Brown Cc: stable@vger.kernel.org --- Reading git-diff-tree failed