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

Mark Brown broonie at kernel.org
Wed Feb 13 12:50:46 CET 2019


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);
                       ^~~~
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20190213/ece1c50d/attachment.sig>


More information about the Alsa-devel mailing list