]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: samsung: i2s: Protect more registers with a spinlock
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Wed, 14 Jan 2015 18:42:36 +0000 (19:42 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 14 Jan 2015 19:46:54 +0000 (19:46 +0000)
commit12382d2235595afcf2488b8e2cb7e6fb4631bc9b
tree871b24a7918157f06e46f66827bc2e01944cc118
parent7ea6df1127a40b52f3a00975df2097a1fa298b1d
ASoC: samsung: i2s: Protect more registers with a spinlock

Ensure the I2SMOD, I2SPSR registers, which are also exposed through
clk API are only accessed with the i2s->spinlock spinlock held.

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