openwrtv4/target/linux/lantiq/patches-4.9
Hauke Mehrtens 6153248052 lantiq: spi: double time out tolerance
The generic SPI code calculates how long the issued transfer would take
and adds 100ms in addition to the timeout as tolerance. On my 500 MHz
Lantiq Mips SoC I am getting timeouts from the SPI like this when the
system boots up:

m25p80 spi32766.4: SPI transfer timed out
blk_update_request: I/O error, dev mtdblock3, sector 2
SQUASHFS error: squashfs_read_data failed to read block 0x6e

After increasing the tolerance for the timeout to 200ms I haven't seen
these SPI transfer time outs any more.
The Lantiq SPI driver in use here has an extra work queue in between,
which gets triggered when the controller send the last word and the
hardware FIFOs used for reading and writing are only 8 words long.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2017-05-21 21:51:28 +02:00
..
0001-MIPS-lantiq-add-pcie-driver.patch kernel: update MIPS pci fix to the accepted version 2017-04-08 14:30:00 +02:00
0004-MIPS-lantiq-add-atm-hack.patch
0008-MIPS-lantiq-backport-old-timer-code.patch kernel: update kernel 4.9 to 4.9.29 2017-05-21 21:51:22 +02:00
0018-MTD-nand-lots-of-xrx200-fixes.patch
0020-MTD-lantiq-handle-NO_XIP-on-cfi0001-flash.patch
0022-MTD-m25p80-allow-loading-mtd-name-from-OF.patch
0023-NET-PHY-adds-driver-for-lantiq-PHY11G.patch
0024-NET-lantiq-adds-PHY11G-firmware-blobs.patch
0025-NET-MIPS-lantiq-adds-xrx200-net.patch lantiq: fix broadcasts and vlans in two iface mode 2017-03-11 13:45:00 +01:00
0026-NET-multi-phy-support.patch kernel: update kernel 4.9 to 4.9.29 2017-05-21 21:51:22 +02:00
0028-NET-lantiq-various-etop-fixes.patch
0030-GPIO-add-named-gpio-exports.patch
0031-I2C-MIPS-lantiq-add-FALC-ON-i2c-bus-master.patch
0035-owrt-lantiq-wifi-and-ethernet-eeprom-handling.patch kernel: update kernel 4.9 to 4.9.29 2017-05-21 21:51:22 +02:00
0040-USB-DWC2-enable-usb-power-gpio.patch
0042-arch-mips-increase-io_space_limit.patch
0047-poweroff.patch
0050-MIPS-Lantiq-Fix-cascaded-IRQ-setup.patch
0061-USB-DWC2-make-the-lantiq-settings-match-vendor-drive.patch
0065-MIPS-lantiq-improve-USB-initialization.patch
0090-spi-lantiq-ssc-add-support-for-Lantiq-SSC-SPI-contro.patch lantiq: update spi driver to upstream version 2017-03-26 15:58:17 +02:00
0091-spi-lantiq-ssc-fix-platform_no_drv_owner.cocci-warni.patch lantiq: update spi driver to upstream version 2017-03-26 15:58:17 +02:00
0092-spi-lantiq-ssc-add-LTQ_-prefix-to-defines.patch lantiq: update spi driver to upstream version 2017-03-26 15:58:17 +02:00
0093-spi-double-time-out-tolerance.patch lantiq: spi: double time out tolerance 2017-05-21 21:51:28 +02:00
0101-find_active_root.patch
0151-lantiq-ifxmips_pcie-use-of.patch
0152-lantiq-VPE.patch lantiq: vr9 fxs support: remove unused wdog declarations and initializers 2017-03-24 08:09:39 +01:00
0154-lantiq-pci-bar11mask-fix.patch
0155-lantiq-VPE-nosmp.patch lantiq: vr9 fxs support: fixed check of SMP state within vpe-mt.c 2017-03-17 08:58:50 +01:00
0160-owrt-lantiq-multiple-flash.patch
0170-MIPS-lantiq-lock-DMA-register-accesses-for-SMP.patch
0300-MTD-cfi-cmdset-0001-disable-buffered-writes.patch
0301-xrx200-add-gphy-clk-src-device-tree-binding.patch
0302-xrx200-add-sensors-driver.patch