aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/vrf.c
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2018-05-24 16:09:07 +0200
committerDavid S. Miller <davem@davemloft.net>2018-05-28 22:54:15 -0400
commit29555fa3de865630570b5f53c847b953413daf1a (patch)
treeb606485765c902b397eca1897496a62a4966140f /drivers/net/vrf.c
parentbnx2x: Collect the device debug information during Tx timeout. (diff)
downloadlinux-dev-29555fa3de865630570b5f53c847b953413daf1a.tar.xz
linux-dev-29555fa3de865630570b5f53c847b953413daf1a.zip
net: stmmac: Use mutex instead of spinlock
Some drivers, such as DWC EQOS on Tegra, need to perform operations that can sleep under this lock (clk_set_rate() in tegra_eqos_fix_speed()) for proper operation. Since there is no need for this lock to be a spinlock, convert it to a mutex instead. Fixes: e6ea2d16fc61 ("net: stmmac: dwc-qos: Add Tegra186 support") Reported-by: Jon Hunter <jonathanh@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com> Tested-by: Bhadram Varka <vbhadram@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/vrf.c')
0 files changed, 0 insertions, 0 deletions