[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20191023161203.28955-1-jbrunet@baylibre.com>
Date: Wed, 23 Oct 2019 18:12:01 +0200
From: Jerome Brunet <jbrunet@...libre.com>
To: Mark Brown <broonie@...nel.org>,
Liam Girdwood <lgirdwood@...il.com>
Cc: Jerome Brunet <jbrunet@...libre.com>, alsa-devel@...a-project.org,
linux-kernel@...r.kernel.org,
Russell King <rmk+kernel@...linux.org.uk>
Subject: [PATCH 0/2] ASoC: hdmi-codec: fix locking issue
This patchset fixes the locking issue reported by Russell.
As explained a mutex was used as flag and held while returning to
userspace.
Patch 2 is entirely optional and switches from bit atomic operation
to mutex again. I tend to prefer bit atomic operation in this
particular case but either way should be fine.
Jerome Brunet (2):
Revert "ASoC: hdmi-codec: re-introduce mutex locking"
ASoC: hdmi-codec: re-introduce mutex locking again
sound/soc/codecs/hdmi-codec.c | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)
--
2.21.0
Powered by blists - more mailing lists