diff options
author | Piotr Dymacz <pepe2k@gmail.com> | 2018-04-04 23:43:51 +0200 |
---|---|---|
committer | Piotr Dymacz <pepe2k@gmail.com> | 2018-04-06 23:11:00 +0200 |
commit | 6148c465561cb5ba0b05ba77ecfe7cd42faeb835 (patch) | |
tree | 4179aa0eb3cc45464cbcd45e51fdd197e2f535ec /target/linux/ar71xx/patches-4.4/460-m25p80-spi-read-flash-check.patch | |
parent | bbc2e1d919c635e2c9fd0cd34a3bb3cce2632e97 (diff) | |
download | upstream-6148c465561cb5ba0b05ba77ecfe7cd42faeb835.tar.gz upstream-6148c465561cb5ba0b05ba77ecfe7cd42faeb835.tar.bz2 upstream-6148c465561cb5ba0b05ba77ecfe7cd42faeb835.zip |
ar71xx: drop kernel 4.4 support
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
Diffstat (limited to 'target/linux/ar71xx/patches-4.4/460-m25p80-spi-read-flash-check.patch')
-rw-r--r-- | target/linux/ar71xx/patches-4.4/460-m25p80-spi-read-flash-check.patch | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/target/linux/ar71xx/patches-4.4/460-m25p80-spi-read-flash-check.patch b/target/linux/ar71xx/patches-4.4/460-m25p80-spi-read-flash-check.patch deleted file mode 100644 index a34b38398d..0000000000 --- a/target/linux/ar71xx/patches-4.4/460-m25p80-spi-read-flash-check.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- a/drivers/mtd/devices/m25p80.c -+++ b/drivers/mtd/devices/m25p80.c -@@ -149,8 +149,10 @@ static int m25p80_read(struct spi_nor *n - msg.data_nbits = m25p80_rx_nbits(nor); - - ret = spi_flash_read(spi, &msg); -- *retlen = msg.retlen; -- return ret; -+ if (!ret) { -+ *retlen = msg.retlen; -+ return 0; -+ } - } - - spi_message_init(&m); |