ASoC: SOF: mediatek: mt8195: Use snd_sof_ipc_process_reply() helper
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Wed, 3 May 2023 11:34:09 +0000 (13:34 +0200)
committerMark Brown <broonie@kernel.org>
Sun, 7 May 2023 23:48:21 +0000 (08:48 +0900)
commit06ba8020287f43fc13962b158d8dec2689448a5a
treee279a7da81dd8e5e975541a0f0a513d30b618b0d
parentac9a78681b921877518763ba0e89202254349d1b
ASoC: SOF: mediatek: mt8195: Use snd_sof_ipc_process_reply() helper

Function mt8195_get_reply() performs practically the same operation
as the common snd_sof_ipc_get_reply() helper: removing the custom
function allows us to simply perform a call to the sof-priv helper
snd_sof_ipc_process_reply(), simplifying and shortening this driver
and getting all the benefits of using a common API.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com
Link: https://lore.kernel.org/r/20230503113413.149235-2-angelogioacchino.delregno@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org
sound/soc/sof/mediatek/mt8195/mt8195.c