Kai Vehmanen
8e85def572
ALSA: hda: enable regmap internal locking
This reverts commit 42ec336f1f9d ("ALSA: hda: Disable regmap
internal locking").
Without regmap locking, there is a race between snd_hda_codec_amp_init()
and PM callbacks issuing regcache_sync(). This was caught by
following kernel warning trace:
<4> [358.080081] WARNING: CPU: 2 PID: 4157 at drivers/base/regmap/regcache.c:498 regcache_cache_only+0xf5/0x130
[...]
<4> [358.080148] Call Trace:
<4> [358.080158] snd_hda_codec_amp_init+0x4e/0x100 [snd_hda_codec]
<4> [358.080169] snd_hda_codec_amp_init_stereo+0x40/0x80 [snd_hda_codec]
Suggested-by: Takashi Iwai <tiwai@suse.de>
BugLink: https://gitlab.freedesktop.org/drm/intel/issues/592
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Link: https://lore.kernel.org/r/20200108180856.5194-1-kai.vehmanen@linux.intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2020-01-08 20:10:08 +01:00
..
2019-10-07 03:58:48 +02:00
2019-05-21 10:50:45 +02:00
2019-05-21 10:50:45 +02:00
2019-08-14 20:00:56 +02:00
2019-04-15 15:51:49 +10:00
2019-10-28 11:47:59 +01:00
2019-08-15 21:43:05 +02:00
2019-07-27 08:31:46 +02:00
2020-01-08 20:10:08 +01:00
2019-12-14 18:54:47 +01:00
2019-07-05 12:01:06 +02:00
2019-05-21 10:50:45 +02:00
2019-10-28 16:09:02 +01:00
2019-10-23 06:31:37 +02:00
2019-10-23 06:31:37 +02:00
2019-08-14 20:00:56 +02:00
2019-10-23 06:31:37 +02:00
2015-03-23 13:17:58 +01:00
2017-11-02 11:10:55 +01:00