Re: [PATCH v2 08/21] ASoC: samsung: i2s: Drop spinlock pointer from i2s_dai data structure

From: Mark Brown
Date: Wed Feb 13 2019 - 06:50:55 EST


On Tue, Feb 12, 2019 at 07:03:29PM +0100, Sylwester Nawrocki wrote:
> As we now have the 'priv' pointer in most of the places we can use
> priv->lock directly, dropping extra indirection in the SFR region
> spinlock access.

This doesn't build for me:

CC sound/soc/samsung/i2s.o
In file included from ./include/linux/spinlock.h:309,
from ./include/linux/mmzone.h:8,
from ./include/linux/gfp.h:6,
from ./include/linux/slab.h:15,
from sound/soc/samsung/i2s.c:15:
sound/soc/samsung/i2s.c: In function âsamsung_i2s_dai_removeâ:
sound/soc/samsung/i2s.c:1109:23: error: âprivâ undeclared (first use in this function); did you mean âpidâ?
spin_lock_irqsave(&priv->lock, flags);
^~~~

Attachment: signature.asc
Description: PGP signature