The patch titled pxa2xx_spi: fix for SPI_CS_HIGH has been added to the -mm tree. Its filename is pxa2xx_spi-fix-for-spi_cs_high.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: pxa2xx_spi: fix for SPI_CS_HIGH From: Daniel Ribeiro <drwyrm@xxxxxxxxx> Commit a7bb3909b3293d503211d7f6af8ed62c1644b686 ("spi: pxa2xx_spi: introduce chipselect GPIO to simplify the common cases") introduces chipselect GPIO, and configures the CS polarity using SPI_CS_HIGH spi->mode flag. Add SPI_CS_HIGH to the allowed modes. Signed-off-by: Daniel Ribeiro <drwyrm@xxxxxxxxx> Signed-off-by: David Brownell <dbrownell@xxxxxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/spi/pxa2xx_spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/spi/pxa2xx_spi.c~pxa2xx_spi-fix-for-spi_cs_high drivers/spi/pxa2xx_spi.c --- a/drivers/spi/pxa2xx_spi.c~pxa2xx_spi-fix-for-spi_cs_high +++ a/drivers/spi/pxa2xx_spi.c @@ -1485,7 +1485,7 @@ static int __init pxa2xx_spi_probe(struc drv_data->ssp = ssp; /* the spi->mode bits understood by this driver: */ - master->mode_bits = SPI_CPOL | SPI_CPHA; + master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH; master->bus_num = pdev->id; master->num_chipselect = platform_info->num_chipselect; _ Patches currently in -mm which might be from drwyrm@xxxxxxxxx are origin.patch pxa2xx_spi-prevent-panic-case-setup-fails.patch linux-next.patch pxa2xx_spi-fix-for-spi_cs_high.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html