summaryrefslogtreecommitdiff
path: root/drivers/watchdog/rt2880_wdt.c
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2018-03-01 02:02:28 +0100
committerDavid S. Miller <davem@davemloft.net>2018-03-04 13:34:18 -0500
commitc6c8cd5e3ce494419d8894d6a96aa17375b83ca2 (patch)
tree4f504c92a08a331fbb1908c47fb0e3bcdf3b2ed6 /drivers/watchdog/rt2880_wdt.c
parent88c060549a4c555d59965801d1e811b71614c2b7 (diff)
net: dsa: mv88e6xxx: Hold mutex while doing stats operations
Until now, there has been no need to hold the reg mutex while getting the count of statistics, or the strings, because the hardware was not accessed. When adding support for SERDES statistics, it is necessary to access the hardware, to determine if a port is using the SERDES interface. So add mutex lock/unlocks. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Tested-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/watchdog/rt2880_wdt.c')
0 files changed, 0 insertions, 0 deletions