[PATCH phy v2 2/6] phy: marvell: phy-mvebu-a3700-comphy: Add native kernel implementation

Marek Behún kabel at kernel.org
Thu Dec 30 11:44:44 PST 2021


On Thu, 23 Dec 2021 18:10:52 +0530
Vinod Koul <vkoul at kernel.org> wrote:

> > +	raw_spin_unlock_irqrestore(&lane->priv->lock, flags);  
> 
> any reason to use raw_ variant? why not spin_lock_irqsave()

You're right, there is no valid reason. I used raw spinlock simply
because I saw it somewhere else. I will change it to non-raw.

Marek



More information about the linux-phy mailing list