ASoC: Intel: avs: Do not treat unsupported IPCs as invalid
authorCezary Rojewski <cezary.rojewski@intel.com>
Mon, 10 Oct 2022 12:19:51 +0000 (14:19 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 17 Oct 2022 11:50:13 +0000 (12:50 +0100)
commit2d27a1caf8ef0c443486b18de2fada3120e3fbe1
treebd02707c2bb2558244444c093ef14f3d6876ecfa
parent18a787909ca6bac3a3a3235c08d68a4a9838fe7b
ASoC: Intel: avs: Do not treat unsupported IPCs as invalid

Utilize NOT_SUPPORTED status code to differentiate between unsupported
and invalid requests. Skip over error paths if it is the former that is
communicated by the base firmware.

Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://lore.kernel.org/r/20221010121955.718168-12-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/avs/avs.h
sound/soc/intel/avs/messages.h