linux-stable/drivers/soundwire
Vijendar Mukunda 6321499010 soundwire: amd: fix for wake interrupt handling for clockstop mode
[ Upstream commit 63dc588e7a ]

When SoundWire Wake interrupt is enabled along with SoundWire Wake
enable register, SoundWire wake interrupt will be reported
when SoundWire manager is in D3 state and ACP is in D3 state.

When SoundWire Wake interrupt is reported, it will invoke runtime
resume of the SoundWire manager device.

In case of system level suspend, for ClockStop Mode SoundWire Wake
interrupt should be disabled.
It should be enabled only for runtime suspend scenario.
Change wake interrupt enable/disable sequence for ClockStop Mode in
system level suspend and runtime suspend sceanrio.

Fixes: 9cf1efc5ed ("soundwire: amd: add pm_prepare callback and pm ops support")
Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
Link: https://lore.kernel.org/r/20240327063143.2266464-2-Vijendar.Mukunda@amd.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-05-02 16:35:32 +02:00
..
amd_manager.c soundwire: amd: fix for wake interrupt handling for clockstop mode 2024-05-02 16:35:32 +02:00
amd_manager.h soundwire: amd: fix for wake interrupt handling for clockstop mode 2024-05-02 16:35:32 +02:00
bus.c soundwire: bus: introduce controller_id 2023-11-24 12:24:37 +05:30
bus.h
bus_type.c soundwire: bus: Make IRQ handling conditionally built 2023-09-21 11:31:33 +02:00
cadence_master.c
cadence_master.h
debugfs.c soundwire: bus: introduce controller_id 2023-11-24 12:24:37 +05:30
dmi-quirks.c ASoC: Intel: common: DMI remap for rebranded Intel NUC M15 (LAPRC710) laptops 2024-04-13 13:10:04 +02:00
generic_bandwidth_allocation.c soundwire: generic_bandwidth_allocation use bus->params.max_dr_freq 2023-11-28 15:29:55 +05:30
intel.c ASoC: soundwire: convert not to use asoc_xxx() 2023-09-25 14:16:40 +02:00
intel.h
intel_ace2x.c soundwire: intel_ace2x: fix AC timing setting for ACE2.x 2023-11-28 15:27:27 +05:30
intel_ace2x_debugfs.c
intel_auxdevice.c soundwire: bus: introduce controller_id 2023-11-24 12:24:37 +05:30
intel_auxdevice.h
intel_bus_common.c
intel_init.c
irq.c soundwire: bus: Make IRQ handling conditionally built 2023-09-21 11:31:33 +02:00
irq.h soundwire: bus: Make IRQ handling conditionally built 2023-09-21 11:31:33 +02:00
Kconfig soundwire: intel_ace2x: fix SND_SOC_SOF_HDA_MLINK dependency 2023-06-21 16:19:44 +05:30
Makefile soundwire: bus: Make IRQ handling conditionally built 2023-09-21 11:31:33 +02:00
master.c soundwire: bus: introduce controller_id 2023-11-24 12:24:37 +05:30
mipi_disco.c
qcom.c soundwire updates for 6.7 2024-01-18 17:08:31 -08:00
slave.c soundwire: fix initializing sysfs for same devices on different buses 2023-11-24 12:24:37 +05:30
stream.c soundwire updates for 6.7 2024-01-18 17:08:31 -08:00
sysfs_local.h
sysfs_slave.c
sysfs_slave_dpn.c