kernel/sound/soc/rockchip/rockchip_multi_dais_pcm.c
.. .. @@ -601,6 +601,9 @@ 601 601 pos = buf_size - state.residue; 602 602 603 603 frames = bytes_to_frames(substream->runtime, pos); 604 + if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)605 + return frames;606 +604 607 #ifdef CONFIG_SND_SOC_ROCKCHIP_VAD 605 608 if (prtd->vpos) 606 609 frames = bytes_to_frames(substream->runtime, prtd->vpos);