linux_dsm_epyc7002/sound/soc/intel
Yu Zhao 75383f8d39
sound: don't call skl_init_chip() to reset intel skl soc
Internally, skl_init_chip() calls snd_hdac_bus_init_chip() which
1) sets bus->chip_init to prevent multiple entrances before device
is stopped; 2) enables interrupt.

We shouldn't use it for the purpose of resetting device only because
1) when we really want to initialize device, we won't be able to do
so; 2) we are ready to handle interrupt yet, and kernel crashes when
interrupt comes in.

Rename azx_reset() to snd_hdac_bus_reset_link(), and use it to reset
device properly.

Fixes: 60767abcea ("ASoC: Intel: Skylake: Reset the controller in probe")
Reviewed-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Yu Zhao <yuzhao@google.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2018-09-12 11:22:09 +01:00
..
atom ASoC: Intel: Atom: fix inversion between __iowrite32 and __ioread32 2018-07-25 17:21:22 +01:00
baytrail ASoC: intel: baytrail: replace platform to component 2018-02-12 11:45:10 +00:00
boards ASoC: Intel: bytcr_rt5640: Add quirks for 2 more devices 2018-08-14 15:06:35 +01:00
common ASoC: Intel: common: make sst_dma functions static 2018-07-25 17:21:15 +01:00
haswell ASoC: Intel: Haswell: fix endianness handling 2018-07-25 17:21:07 +01:00
skylake sound: don't call skl_init_chip() to reset intel skl soc 2018-09-12 11:22:09 +01:00
Kconfig ASoC: Intel: Disable SND_SOC_INTEL_BAYTRAIL when SND_SST_ATOM_HIFI2_PLATFORM is enabled 2018-04-19 13:12:36 +01:00
Makefile ASoC: Intel: Fix Kconfig with top-level selector 2018-01-08 16:18:48 +00:00