OSDN Git Service

ASoC: samsung: i2s: Drop spinlock pointer from i2s_dai data structure
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Thu, 14 Feb 2019 09:37:36 +0000 (10:37 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 14 Feb 2019 13:04:45 +0000 (13:04 +0000)
commit9d7939c929413d0f9effef599a0ca73300b494be
tree56c33affb19a0e024739521572b8b908ec02a9e5
parente2e16fa6a32dcf0a340cb2b6155a44d1bf5858ef
ASoC: samsung: i2s: Drop spinlock pointer from i2s_dai data structure

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.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Acked-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/samsung/i2s.c