[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <s5hzhnqjzkr.wl-tiwai@suse.de>
Date: Mon, 13 May 2019 14:42:12 +0200
From: Takashi Iwai <tiwai@...e.de>
To: Amadeusz Sławiński
<amadeuszx.slawinski@...ux.intel.com>
Cc: <alsa-devel@...a-project.org>, "Jaroslav Kysela" <perex@...ex.cz>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2] ALSA: hda: Fix race between creating and refreshing sysfs entries
On Mon, 13 May 2019 11:18:01 +0200,
Amadeusz Sławiński wrote:
>
> hda_widget_sysfs_reinit() can free underlying codec->widgets structure
> on which widget_tree_create() operates. Add locking to prevent such
> issues from happening.
>
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=110382
> Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@...ux.intel.com>
> ---
>
> Changes since v1:
> - Moved mutexes around the callers
> - Added comments noting that functions should be called with mutex held
Applied, thanks.
Takashi
Powered by blists - more mailing lists