diff options
author | AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> | 2022-09-06 11:27:26 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-09-07 12:40:52 +0100 |
commit | cf84edeeb95ee8e76f12bb02a7444876d031bea7 (patch) | |
tree | 53e9f3e2a037154e0a8dbd0bd58c9408e81db905 /sound/soc/sof | |
parent | c2186a9b3a98f1ff814996aa52a019158bfad9c9 (diff) | |
download | linux-stable-cf84edeeb95ee8e76f12bb02a7444876d031bea7.tar.gz linux-stable-cf84edeeb95ee8e76f12bb02a7444876d031bea7.tar.bz2 linux-stable-cf84edeeb95ee8e76f12bb02a7444876d031bea7.zip |
ASoC: SOF: mediatek: mt8195: Add generic pcm_{open,close} callbacks
Use the generic sof_stream_pcm_{open,close}() functions for the
pcm_{open,close} callbacks.
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20220906092727.37324-5-angelogioacchino.delregno@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof')
-rw-r--r-- | sound/soc/sof/mediatek/mt8195/mt8195.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/soc/sof/mediatek/mt8195/mt8195.c b/sound/soc/sof/mediatek/mt8195/mt8195.c index 68747ee21c6f..c1590e78edd4 100644 --- a/sound/soc/sof/mediatek/mt8195/mt8195.c +++ b/sound/soc/sof/mediatek/mt8195/mt8195.c @@ -586,6 +586,10 @@ static struct snd_sof_dsp_ops sof_mt8195_ops = { /* misc */ .get_bar_index = mt8195_get_bar_index, + /* stream callbacks */ + .pcm_open = sof_stream_pcm_open, + .pcm_close = sof_stream_pcm_close, + /* firmware loading */ .load_firmware = snd_sof_load_firmware_memcpy, |