[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190626212220.239897-1-evgreen@chromium.org>
Date: Wed, 26 Jun 2019 14:22:18 -0700
From: Evan Green <evgreen@...omium.org>
To: Takashi Iwai <tiwai@...e.com>
Cc: Evan Green <evgreen@...omium.org>,
Jaroslav Kysela <perex@...ex.cz>, alsa-devel@...a-project.org,
Amadeusz Sławiński
<amadeuszx.slawinski@...ux.intel.com>,
linux-kernel@...r.kernel.org, Thomas Gleixner <tglx@...utronix.de>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: [PATCH v2 0/2] ALSA: hda: Widget memory fixes
This series fixes concurrency issues with the sysfs widget array. The first
function patches up the locking that was introduced recently to protect more
of the data structure. The second patch fixes a race between a reinit and the
initial population of the array which could result in a length and array
getting out of sync.
Changes in v2:
- Introduced widget_mutex relocation
Evan Green (2):
ALSA: hda: Fix widget_mutex incomplete protection
ALSA: hda: Use correct start/count for sysfs init
sound/hda/hdac_device.c | 21 ++++++++++++++-------
sound/hda/hdac_sysfs.c | 18 ++++++++++--------
sound/hda/local.h | 3 ++-
3 files changed, 26 insertions(+), 16 deletions(-)
--
2.20.1
Powered by blists - more mailing lists