Re: [PATCH] net: stmmac: Use mutex instead of spinlock

2018-05-28 Thread David Miller
From: Thierry Reding Date: Thu, 24 May 2018 16:09:07 +0200 > From: Thierry Reding > > 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

Re: [PATCH] net: stmmac: Use mutex instead of spinlock

2018-05-28 Thread David Miller
From: Thierry Reding Date: Thu, 24 May 2018 16:09:07 +0200 > From: Thierry Reding > > 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

Re: [PATCH] net: stmmac: Use mutex instead of spinlock

2018-05-25 Thread Bhadram Varka
Hi, On 5/24/2018 7:39 PM, Thierry Reding wrote: From: Thierry Reding 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

Re: [PATCH] net: stmmac: Use mutex instead of spinlock

2018-05-25 Thread Bhadram Varka
Hi, On 5/24/2018 7:39 PM, Thierry Reding wrote: From: Thierry Reding 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,

[PATCH] net: stmmac: Use mutex instead of spinlock

2018-05-24 Thread Thierry Reding
From: Thierry Reding 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.

[PATCH] net: stmmac: Use mutex instead of spinlock

2018-05-24 Thread Thierry Reding
From: Thierry Reding 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