1
0
Fork 0
remarkable-linux/sound/soc/intel/skylake
Yu Zhao 37ca1cc8d4 sound: don't call skl_init_chip() to reset intel skl soc
[ Upstream commit 75383f8d39 ]

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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-10-18 09:16:22 +02:00
..
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
bxt-sst.c ASoC: Intel: Skylake: Fix to free dsp resource on ipc_init failure 2017-08-23 11:55:07 +01:00
cnl-sst-dsp.c ASoC: Intel: cnl: Add cnl dsp functions and registers 2017-08-03 11:07:23 +01:00
cnl-sst-dsp.h ASoC: Intel: cnl: Add sst library functions for cnl platform 2017-08-03 11:07:33 +01:00
cnl-sst.c ASoC: Intel: Skylake: Fix to free dsp resource on ipc_init failure 2017-08-23 11:55:07 +01:00
skl-debug.c ASoC: Intel: Skylake: Remove driver debugfs exit 2017-07-03 16:50:49 +01:00
skl-messages.c ASoC: Intel: Skylake: Disable clock gating during firmware and library download 2018-04-12 12:32:14 +02:00
skl-nhlt.c ASoC: skl: Fix kernel warning due to zero NHTL entry 2018-02-16 20:23:04 +01:00
skl-nhlt.h ASoC: Intel: Skylake: Add api to retrieve dmic array info from nhlt 2016-05-30 18:16:44 +01:00
skl-pcm.c ASoC: Intel: Skylake: Disable clock gating during firmware and library download 2018-04-12 12:32:14 +02:00
skl-sst-cldma.c ASoC: Intel: Skylake: Fix module load when module size > DMA buffer size 2017-03-15 17:28:18 +00:00
skl-sst-cldma.h ASoC: Intel: Skylake: Fix module load when module size > DMA buffer size 2017-03-15 17:28:18 +00:00
skl-sst-dsp.c ASoC: Intel: Skylake: Fix DSP core ref count for init failure 2017-08-23 11:55:18 +01:00
skl-sst-dsp.h ASoC: Intel: Skylake: Register dsp_fw_ops for kabylake 2017-04-26 15:47:45 +01:00
skl-sst-ipc.c ASoC: Intel: cnl: Unstatify common ipc functions 2017-08-03 11:07:29 +01:00
skl-sst-ipc.h ASoC: Intel: cnl: Unstatify common ipc functions 2017-08-03 11:07:29 +01:00
skl-sst-utils.c ASoC: Intel: Skylake: Fix uuid_module memory leak in failure case 2017-12-20 10:10:24 +01:00
skl-sst.c ASoC: Intel: Skylake: Fix to free dsp resource on ipc_init failure 2017-08-23 11:55:07 +01:00
skl-topology.c ASoC: Intel: Skylake: Parse and update module config structure 2017-08-25 14:54:06 +01:00
skl-topology.h ASoC: Intel: Skylake: Add IPC to configure the copier secondary pins 2017-09-01 12:06:35 +01:00
skl-tplg-interface.h ASoC: Intel: Skylake: Add enum control for mic selection 2017-06-06 20:00:43 +01:00
skl.c sound: don't call skl_init_chip() to reset intel skl soc 2018-10-18 09:16:22 +02:00
skl.h ASoC: Intel: Skylake: Add driver structures to be filled from topology manifest 2017-08-25 14:53:59 +01:00