lkml.org 
[lkml]   [2014]   [Feb]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 00/17 v2] Update locking for snd_soc_dapm_xxxx_pin functions
Date
This patchset updates the locking around the
snd_soc_dapm_xxxx_pin functions. First we add an unlocked
version of the functions and add locking to the standard
call, this also requires us to remove the few places where
these functions are externally locked. Then we patch usages
of the functions that look like they are expecting to do an
atomic update to do so, using external locking.

Thanks,
Charles

Updates since v1:
- Added helper functions to lock/unlock the dapm mutex
- Added an unlocked version of snd_soc_dapm_sync, so it can
be called under the same mutex lock as the pin functions,
this is not required just saves a mutex lock

Charles Keepax (17):
Input - arizona-haptics: Fix double lock of dapm_mutex
ASoC: dapm: Add helpers to lock/unlock DAPM mutex
ASoC: dapm: Add locking to snd_soc_dapm_xxxx_pin functions
ASoC: dapm: Add unlocked version of snd_soc_dapm_sync
ASoC: adav80x: Update locking around use of DAPM pin API
ASoC: wm5100: Update locking around use of DAPM pin API
ASoC: wm8962: Update locking around use of DAPM pin API
ASoC: wm8994: Update locking around use of DAPM pin API
ASoC: wm8996: Update locking around use of DAPM pin API
ASoC: mfld_machine: Update locking around use of DAPM pin API
ASoC: ams-delta: Update locking around use of DAPM pin API
ASoC: omap: n810: Update locking around use of DAPM pin API
ASoC: omap: rx51: Update locking around use of DAPM pin API
ASoC: pxa: corgi: Update locking around use of DAPM pin API
ASoC: pxa: magician: Update locking around use of DAPM pin API
ASoC: pxa: spitz: Update locking around use of DAPM pin API
ASoC: pxa: tosa: Update locking around use of DAPM pin API

drivers/extcon/extcon-arizona.c | 12 ---
drivers/input/misc/arizona-haptics.c | 19 ----
include/sound/soc-dapm.h | 9 ++
include/sound/soc.h | 9 ++
sound/soc/codecs/adav80x.c | 17 +++--
sound/soc/codecs/wm5100.c | 12 ++-
sound/soc/codecs/wm8962.c | 13 ++-
sound/soc/codecs/wm8994.c | 45 ++++++----
sound/soc/codecs/wm8996.c | 9 ++-
sound/soc/intel/mfld_machine.c | 65 +++++++++-----
sound/soc/omap/ams-delta.c | 45 ++++++----
sound/soc/omap/n810.c | 22 +++--
sound/soc/omap/rx51.c | 22 +++--
sound/soc/pxa/corgi.c | 42 +++++----
sound/soc/pxa/magician.c | 22 +++--
sound/soc/pxa/spitz.c | 51 ++++++-----
sound/soc/pxa/tosa.c | 28 ++++---
sound/soc/soc-dapm.c | 160 ++++++++++++++++++++++++++++++---
18 files changed, 399 insertions(+), 203 deletions(-)

--
1.7.2.5



\
 
 \ /
  Last update: 2014-02-18 18:02    [W:1.093 / U:0.884 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site