WSL2-Linux-Kernel/sound/hda
Sameer Pujar b90b925fd5 ALSA: hda: avoid reset of sdo_limit
By default 'sdo_limit' is initialized with a default value of '8'
as per spec. This is overridden in cases where a different value is
required. However this is getting reset when snd_hdac_bus_init_chip()
is called again, which happens during runtime PM cycle.

Avoid this reset by moving 'sdo_limit' setup to 'snd_hdac_bus_init()'
function which would be called only once.

Fixes: 67ae482a59 ("ALSA: hda: add member to store ratio for stripe control")
Cc: <stable@vger.kernel.org>
Signed-off-by: Sameer Pujar <spujar@nvidia.com>
Link: https://lore.kernel.org/r/1597851130-6765-1-git-send-email-spujar@nvidia.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2020-08-19 17:37:06 +02:00
..
ext
Kconfig
Makefile
array.c
hda_bus_type.c
hdac_bus.c
hdac_component.c
hdac_controller.c
hdac_device.c
hdac_i915.c
hdac_regmap.c
hdac_stream.c
hdac_sysfs.c
hdmi_chmap.c
intel-dsp-config.c
intel-nhlt.c
local.h
trace.c
trace.h