{"push_id":616063650,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"827015f0bfa8d0bac012d8a77e9bd7683ee9d761","before":"1fbf0adaff8e250f53902e99ae5093ce304b9da7","commits":[{"sha":"827015f0bfa8d0bac012d8a77e9bd7683ee9d761","author":{"email":"2540a8c57225c2058d000de41debc8b502ea4a38@animalcreek.com","name":"Mark A. Greer"},"message":"spi: omap2-mcspi: Configure hardware when slave driver changes mode\n\ncommit 97ca0d6cc118716840ea443e010cb3d5f2d25eaf upstream.\n\nCommit id 2bd16e3e23d9df41592c6b257c59b6860a9cc3ea\n(spi: omap2-mcspi: Do not configure the controller\non each transfer unless needed) does its job too\nwell so omap2_mcspi_setup_transfer() isn't called\neven when an SPI slave driver changes 'spi->mode'.\nThe result is that the mode requested by the SPI\nslave driver never takes effect.\n\nFix this by adding the 'mode' member to the\nomap2_mcspi_cs structure which holds the mode\nvalue that the hardware is configured for.\nWhen the SPI slave driver changes 'spi->mode'\nit will be different than the value of this new\nmember and the SPI master driver will know that\nthe hardware must be reconfigured (by calling\nomap2_mcspi_setup_transfer()).\n\nFixes: 2bd16e3e23 (spi: omap2-mcspi: Do not configure the controller on each transfer unless needed)\nSigned-off-by: Mark A. Greer <mgreer@animalcreek.com>\nSigned-off-by: Mark Brown <broonie@linaro.org>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>","distinct":true,"url":"https://api.github.com/repos/friedrich420/N4-AEL-KERNEL-LOLLIPOP/commits/827015f0bfa8d0bac012d8a77e9bd7683ee9d761"}]}