diff options
author | Jonas Gorski <jogo@openwrt.org> | 2015-06-17 10:22:06 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2015-06-17 10:22:06 +0000 |
commit | 79023635ec80038fd9a40f7e13bb8f4685a1439d (patch) | |
tree | 5282d272cf9aabccb963461456794c1ca2ad6c34 /target/linux/generic/patches-3.18/460-mtd-cfi_cmdset_0002-no-erase_suspend.patch | |
parent | b9c13dc540403877ee43369ce0027f43c7cab928 (diff) | |
download | upstream-79023635ec80038fd9a40f7e13bb8f4685a1439d.tar.gz upstream-79023635ec80038fd9a40f7e13bb8f4685a1439d.tar.bz2 upstream-79023635ec80038fd9a40f7e13bb8f4685a1439d.zip |
ar71xx: rb493g: fix gpio-mdio accesses under load
It seems that there are maximum timings for mdio accesses that can be
hit when the system is under load and the thread is scheduled during
a read or write access. Since there is no way of knowing if this
happens as there is not even a parity bit, try to work around it
by disabling interrupts during any gpio-mdio accesses.
Performance impact seems to be neglectable, as mdio accesses are not
that often.
Hopefully fixes #19500.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
Backport of r46012.
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46016 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/patches-3.18/460-mtd-cfi_cmdset_0002-no-erase_suspend.patch')
0 files changed, 0 insertions, 0 deletions