From: Michael Welling Date: Sun, 24 May 2015 02:13:43 +0000 (-0500) Subject: spi: omap2-mcspi: Fix set_cs function for active high X-Git-Tag: omap-for-v4.2/fixes-rc1^2~146^2~4^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4373f8b6dab0de16e5ecf527626d958d20a45b3b;p=pandora-kernel.git spi: omap2-mcspi: Fix set_cs function for active high The core spi driver swaps the polarity of the enable based on SPI_CS_HIGH. The omap2 controller has an internal configuration register bit called OMAP2_MCSPI_CHCONF_EPOL to handle active high chip selects as well. So we have to revert swap the polarity back for the correct setting of the OMAP2_MCSPI_CHCONF_FORCE bit in omap2_mcspi_set_cs. Signed-off-by: Michael Welling Signed-off-by: Mark Brown --- Reading git-diff-tree failed