kernel_optimize_test/sound/hda
Kai Vehmanen 8e85def572 ALSA: hda: enable regmap internal locking
This reverts commit 42ec336f1f ("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
..
ext
array.c
hda_bus_type.c
hdac_bus.c
hdac_component.c
hdac_controller.c Revert "ALSA: hda: Flush interrupts on disabling" 2019-10-28 11:47:59 +01:00
hdac_device.c
hdac_i915.c
hdac_regmap.c ALSA: hda: enable regmap internal locking 2020-01-08 20:10:08 +01:00
hdac_stream.c ALSA: hda: Fix regression by strip mask fix 2019-12-14 18:54:47 +01:00
hdac_sysfs.c
hdmi_chmap.c
intel-dsp-config.c ALSA: hda: Allow non-Intel device probe gracefully 2019-10-28 16:09:02 +01:00
intel-nhlt.c
Kconfig
local.h
Makefile
trace.c
trace.h