aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/drivers/spi/spi-rb4xx.c
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: spi-rb4xx: balance clk_prepare_enable() callGabor Juhos2017-12-241-2/+2
| | | | | | | | | | | | | Commit c312cef223dd ("ar71xx: spi-rb4xx fix.") replaced the clk_enable() call with clk_prepare_enable() to meet the common clock framework requirements. However it did not change the clk_disable() call in the error patch which thus leads to imbalance. Fix the code by using the correct counterpart of clk_prepare_enable() in both places. Fixes: c312cef223dd ("ar71xx: spi-rb4xx fix.") Signed-off-by: Gabor Juhos <juhosg@freemail.hu>
* ar71xx: fix RB4xx SPI driver mode bitsFelix Fietkau2017-01-111-1/+1
| | | | | | Accept SPI_TX_DUAL in device mode to fix the CPLD driver Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: remove a non-upstream spi core patchFelix Fietkau2017-01-051-80/+3
| | | | | | | - use standard flags instead - remove dead code from the rb4xx spi drivers Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: spi-rb4xx fix.Sergey Sergeev2016-07-021-1/+1
| | | | | | | | In new kernels we should use clk_prepare_enable instead of clk_enable since clk_enable does not make proper initialization that leads to rise WARN_ON messages and not working spi bus on the device. Signed-off-by: Sergey Sergeev <adron@yapic.net>
* ar71xx: merge 3.2 fixesGabor Juhos2012-02-101-33/+66
| | | | SVN-Revision: 30406
* ar71xx: rename rb4xx spi driversGabor Juhos2012-01-221-0/+474
SVN-Revision: 29851