summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/patches-3.18/904-phy-mdio-bitbang-prevent-rescheduling-during-command.patch
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: rb493g: fix gpio-mdio accesses under loadJonas Gorski2015-06-171-0/+61
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> SVN-Revision: 46012