diff options
author | John Schoenick <johns@valvesoftware.com> | 2023-11-13 20:47:14 -0800 |
---|---|---|
committer | John Schoenick <johns@valvesoftware.com> | 2023-11-13 20:47:14 -0800 |
commit | d418de2c82f22130b3411ca5334013fa9e2de31f (patch) | |
tree | f8d719d1d4724b24a4bcb0213cf92f430ae50655 /sound/soc/sof/sof-priv.h | |
parent | b7dd868b5f57099d7f67810eb3acc58c3c108c07 (diff) | |
parent | fd6db0236917ce0712065e82cf80d601d523abef (diff) | |
download | linux-6.1.52-valve5.tar.gz |
Merge galilypad/6.1.52 into frog/6.1.52 6.1.52-valve5
Brings in galileo support
Diffstat (limited to 'sound/soc/sof/sof-priv.h')
-rw-r--r-- | sound/soc/sof/sof-priv.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sound/soc/sof/sof-priv.h b/sound/soc/sof/sof-priv.h index cf1546137d29..082b86662630 100644 --- a/sound/soc/sof/sof-priv.h +++ b/sound/soc/sof/sof-priv.h @@ -112,6 +112,7 @@ struct sof_compr_stream { u32 sampling_rate; u16 channels; u16 sample_container_bytes; + size_t posn_offset; }; struct snd_sof_dev; @@ -251,7 +252,7 @@ struct snd_sof_dsp_ops { /* host side configuration of the stream's data offset in stream mailbox area */ int (*set_stream_data_offset)(struct snd_sof_dev *sdev, - struct snd_pcm_substream *substream, + struct snd_sof_pcm_stream *sps, size_t posn_offset); /* optional */ /* pre/post firmware run */ @@ -761,7 +762,7 @@ int sof_ipc_msg_data(struct snd_sof_dev *sdev, struct snd_sof_pcm_stream *sps, void *p, size_t sz); int sof_set_stream_data_offset(struct snd_sof_dev *sdev, - struct snd_pcm_substream *substream, + struct snd_sof_pcm_stream *sps, size_t posn_offset); int sof_stream_pcm_open(struct snd_sof_dev *sdev, |