You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/target/linux
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>
7 years ago
..
adm5120 adm5120: mark the rb1xx subtarget as broken 8 years ago
adm8668 build: fix subtarget descriptions 8 years ago
apm821xx kernel: update kernel 4.9 to 4.9.29 7 years ago
ar7 ar7: diag.sh: use common status_led_* functions 7 years ago
ar71xx kernel: update kernel 4.4 to version 4.4.69 7 years ago
arc770 kernel: update kernel 4.9 to 4.9.29 7 years ago
archs38 kernel: update kernel 4.9 to 4.9.29 7 years ago
armvirt armvirt: 64: enable usb support 7 years ago
at91 kernel: remove ubifs xz decompression support 8 years ago
ath25 kernel: backport MIPS changes introducing a separate IRQ stack 8 years ago
au1000 kernel: update kernel 3.18 to version 3.18.43 8 years ago
bcm53xx kernel: update kernel 4.9 to 4.9.29 7 years ago
brcm47xx kernel: update kernel 4.4 to 4.4.61 7 years ago
brcm63xx brcm63xx: fix invalid Asmax AR 1004g DTS reference 7 years ago
brcm2708 kernel: update kernel 4.9 to 4.9.29 7 years ago
cns3xxx cns3xxx: enable mpcore watchdog 7 years ago
gemini gemini: rename config-default to config-4.4 8 years ago
generic kernel: update kernel 4.9 to 4.9.29 7 years ago
imx6 kernel: update kernel 4.9 to 4.9.29 7 years ago
ipq806x kernel: update kernel 4.9 to 4.9.29 7 years ago
ixp4xx kernel: update kernel 4.4 to 4.4.53 7 years ago
kirkwood kirkwood: set sata/usb led trigger for NSA3xx 7 years ago
lantiq lantiq: spi: double time out tolerance 7 years ago
layerscape kernel: update kernel 4.4 to 4.4.52 7 years ago
malta malta: restore "be" subtarget from being source-only 7 years ago
mcs814x kernel: remove kmod packages for bridge, stp, llc and 8021q 7 years ago
mediatek kernel: update kernel 4.9 to 4.9.29 7 years ago
mpc85xx kernel: update kernel 4.9 to 4.9.29 7 years ago
mvebu kernel: update kernel 4.9 to 4.9.29 7 years ago
mxs mxs: enable nvmem support 7 years ago
octeon octeon: port missing 4.9 patches 7 years ago
omap omap: rework image generation and profiles 7 years ago
omap24xx kernel: clean up usb gadget support 8 years ago
orion kernel: split up 980-arm_openwrt_machtypes.patch and move to target folders 8 years ago
oxnas kernel: update kernel 4.4 to version 4.4.69 7 years ago
pistachio kernel: update kernel 4.9 to 4.9.17 7 years ago
ppc40x build: fix subtarget descriptions 8 years ago
ppc44x ppc44x: mark as broken 8 years ago
ramips kernel: update kernel 4.9 to 4.9.29 7 years ago
rb532 kernel: remove ubifs xz decompression support 8 years ago
sunxi kernel: update kernel 4.4 to version 4.4.69 7 years ago
uml build: get rid of host.mk 7 years ago
x86 kernel: update kernel 4.9 to 4.9.29 7 years ago
xburst kernel: remove kmod packages for bridge, stp, llc and 8021q 7 years ago
zynq kernel: remove out of tree direct-io disable hack 7 years ago
Makefile