diff options
author | Keyon Jie <[email protected]> | 2020-05-26 15:36:40 -0500 |
---|---|---|
committer | Mark Brown <[email protected]> | 2020-05-27 14:06:59 +0100 |
commit | 3d2e5c480742b4a22534e72e2647b6c8c98a94a4 (patch) | |
tree | e5a5d86104b8cc4af56926cf05dacb4d1d7f93b1 /drivers/usb/cdns3/cdns3-debug.h | |
parent | 3d3d1fb9ce34bc045b9d140a5f2ec531eff6a0fe (diff) |
ASoC: SOF: Intel: BYT: harden IPC initialization and handling
On probe and reset, we should not touch the SHIM_IMRD register since
it is configured by firmware.
The driver only configures SHIM_IMRX with the BUSY interrupt enabled
by default and DONE interrupt disabled. When sending an IPC message,
the DONE interrupt is enabled until the DSP response is provided.
This sequence hardens the IPC communication and avoid
interrupt-related issues when adding/removing modules or during system
suspend-resume transitions.
Signed-off-by: Keyon Jie <[email protected]>
Signed-off-by: Pierre-Louis Bossart <[email protected]>
Tested-by: Enric Balletbo i Serra <[email protected]>
Reviewed-by: Ranjani Sridharan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions