diff options
author | Mark Brown <broonie@kernel.org> | 2022-07-11 22:13:49 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-07-11 22:13:49 +0100 |
commit | 388fe2b8a3a0f597b2680e8f1ef5324e1db76ed2 (patch) | |
tree | 9c8385506de4b218326592bd530dfb7ea3e4dd8f /sound/soc/intel/avs/ipc.c | |
parent | ASoC: nau8821: Add headset button detection (diff) | |
parent | ASoC: Intel: avs: Update AVS_FW_INIT_TIMEOUT_US declaration (diff) | |
download | linux-dev-388fe2b8a3a0f597b2680e8f1ef5324e1db76ed2.tar.xz linux-dev-388fe2b8a3a0f597b2680e8f1ef5324e1db76ed2.zip |
ASoC: Intel: avs: Updates and cleanups
Merge series from Cezary Rojewski <cezary.rojewski@intel.com>:
Series consists of loosely connected patches and does not concentrate on
one specific subject.
First, as generic HDAudio codec driver is now part of ASoC, avs-driver
core is updated to register missing ext_bus operations. This completes
driver's core implementation.
The next change adds the last missing piece for port descriptions coming
from topology in formatted string format e.g.: ssp%d have full
effect. To do that, the port value needs to be provided to respective
copier configuration.
Third change relaxes core transition timings so that scenarios where
modules are interfering with each other while being on separate cores
are not occasionally causing trouble.
All other changes are addressing warnings, cleaning things up a little
and protecting driver from invalid firmware behavior - while not
expected in release binaries, does not hurt to add them.
Diffstat (limited to 'sound/soc/intel/avs/ipc.c')
-rw-r--r-- | sound/soc/intel/avs/ipc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/intel/avs/ipc.c b/sound/soc/intel/avs/ipc.c index d755ba8b8518..020d85c7520d 100644 --- a/sound/soc/intel/avs/ipc.c +++ b/sound/soc/intel/avs/ipc.c @@ -480,6 +480,7 @@ static int avs_dsp_do_send_msg(struct avs_dev *adev, struct avs_ipc_msg *request ret = ipc->rx.rsp.status; if (reply) { reply->header = ipc->rx.header; + reply->size = ipc->rx.size; if (reply->data && ipc->rx.size) memcpy(reply->data, ipc->rx.data, reply->size); } |