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

Marek Behún
2021-12-30T19:46:23Z

On Thu, 23 Dec 2021 18:10:52 +0530
Vinod Koul <vkoul@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