File tree Expand file tree Collapse file tree 2 files changed +0
-19
lines changed Expand file tree Collapse file tree 2 files changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -523,16 +523,6 @@ static inline int snd_sof_pcm_platform_ack(struct snd_sof_dev *sdev,
523
523
return 0 ;
524
524
}
525
525
526
- static inline u64 snd_sof_pcm_get_stream_position (struct snd_sof_dev * sdev ,
527
- struct snd_soc_component * component ,
528
- struct snd_pcm_substream * substream )
529
- {
530
- if (sof_ops (sdev ) && sof_ops (sdev )-> get_stream_position )
531
- return sof_ops (sdev )-> get_stream_position (sdev , component , substream );
532
-
533
- return 0 ;
534
- }
535
-
536
526
static inline u64
537
527
snd_sof_pcm_get_dai_frame_counter (struct snd_sof_dev * sdev ,
538
528
struct snd_soc_component * component ,
Original file line number Diff line number Diff line change @@ -261,15 +261,6 @@ struct snd_sof_dsp_ops {
261
261
/* pcm ack */
262
262
int (* pcm_ack )(struct snd_sof_dev * sdev , struct snd_pcm_substream * substream ); /* optional */
263
263
264
- /*
265
- * optional callback to retrieve the link DMA position for the substream
266
- * when the position is not reported in the shared SRAM windows but
267
- * instead from a host-accessible hardware counter.
268
- */
269
- u64 (* get_stream_position )(struct snd_sof_dev * sdev ,
270
- struct snd_soc_component * component ,
271
- struct snd_pcm_substream * substream ); /* optional */
272
-
273
264
/*
274
265
* optional callback to retrieve the number of frames left/arrived from/to
275
266
* the DSP on the DAI side (link/codec/DMIC/etc).
You can’t perform that action at this time.
0 commit comments