lkml.org 
[lkml]   [2019]   [Oct]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] ASoC: hdmi-codec: fix locking issue
Date
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

\
 
 \ /
  Last update: 2019-10-23 18:12    [W:0.088 / U:4.332 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site