ASoC: SOF: mediatek: mt8195: Add mailbox generic callbacks for IPC
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Tue, 6 Sep 2022 09:27:25 +0000 (11:27 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 7 Sep 2022 11:40:50 +0000 (12:40 +0100)
commitc2186a9b3a98f1ff814996aa52a019158bfad9c9
tree9d46c77079794070cdf0322928bc672bd86840b4
parent404bec4c8f6c38ae5fa208344f1086d38026e93d
ASoC: SOF: mediatek: mt8195: Add mailbox generic callbacks for IPC

Add the .mailbox_{read,write} generic callbacks for SOF IPC and, while
at it, also change the ipc_msg_data callback to use the SOF API
sof_ipc_msg_data() instead of the custom function mt8195_ipc_msg_data().

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