Re: [PATCH v3] ALSA: hda: Fix widget_mutex incomplete protection

2019-07-01 Thread Takashi Iwai
On Mon, 01 Jul 2019 19:30:30 +0200, Evan Green wrote: > > The widget_mutex was introduced to serialize callers to > hda_widget_sysfs_{re}init. However, its protection of the sysfs widget array > is incomplete. For example, it is acquired around the call to > hda_widget_sysfs_reinit(), which actual

[PATCH v3] ALSA: hda: Fix widget_mutex incomplete protection

2019-07-01 Thread Evan Green
The widget_mutex was introduced to serialize callers to hda_widget_sysfs_{re}init. However, its protection of the sysfs widget array is incomplete. For example, it is acquired around the call to hda_widget_sysfs_reinit(), which actually creates the new array, but isn't still acquired when codec->nu