Skip to content
  • jogo's avatar
    ar71xx: rb493g: fix gpio-mdio accesses under load · c6fa8b04
    jogo authored
    
    
    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: default avatarJonas Gorski <jogo@openwrt.org>
    
    git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46012 3c298f89-4303-0410-b956-a3cf2f4a3e73
    c6fa8b04
Loading