]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: avs: Implement PCI shutdown
authorAmadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Fri, 13 Jan 2023 19:03:08 +0000 (20:03 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Feb 2023 10:28:00 +0000 (11:28 +0100)
commit5493714507ce1b6bb1d90daa6a3e0c7c65b92fbc
tree22889169ec9c0423d1b8755522a7ecf69ec933f9
parentfcd9a03ab1eb0c05a6fdaa753457a4855d68cbbf
ASoC: Intel: avs: Implement PCI shutdown

[ Upstream commit f89d783d68dcc6b2ce4fe3bda972ae0f84df0dca ]

On shutdown reference to i915 driver needs to be released to not spam
logs with unnecessary warnings. While at it do some additional cleanup
to make sure DSP is powered down and interrupts from device are
disabled.

Fixes: 348ad2829d70 ("ASoC: Intel: avs: PCI driver implementation")
Reported-by: Kornel Dulęba <korneld@google.com>
Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://lore.kernel.org/r/20230113190310.1451693-2-amadeuszx.slawinski@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/intel/avs/core.c