https://github.com/torvalds/linux
Revision 7f238ca984b9c6a89e2339c661440c775d617386 authored by Marek Vasut on 16 October 2019, 13:33:23 UTC, committed by David S. Miller on 17 October 2019, 19:38:46 UTC
The KSZ87xx driver calls mutex_init() on mutexes already inited in
ksz_common.c ksz_switch_register(). Do not do it twice, drop the
reinitialization.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: David S. Miller <davem@davemloft.net>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Cc: George McCollister <george.mccollister@gmail.com>
Cc: Tristram Ha <Tristram.Ha@microchip.com>
Cc: Woojung Huh <woojung.huh@microchip.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent c9ad4c1
History
Tip revision: 7f238ca984b9c6a89e2339c661440c775d617386 authored by Marek Vasut on 16 October 2019, 13:33:23 UTC
net: dsa: microchip: Do not reinit mutexes on KSZ87xx
Tip revision: 7f238ca

back to top