• Jeeja KP's avatar
    ASoC: Intel: Skylake: set the resume point to LPIB · a700a1e6
    Jeeja KP authored
    In system suspend, the firmware pipelines will be deleted and there
    is no need to save the pipeline context. Driver will save the DPIB and
    LPIB pointers in suspend.
    
    In system resume, the firmware pipelines will be created again and the
    RD/RW pointers in the Firmware buffer points to the base address. So
    need to fetch the non-played data again to firmware buffer. LPIB
    indicates the HW rendered position.
    
    Instead of setting DPIB as resume point, set it to LPIB to restore from
    the HW render position so that DMA would fetch the non-played data one
    more time.
    Signed-off-by: default avatarJeeja KP <jeeja.kp@intel.com>
    Signed-off-by: default avatarMark Brown <broonie@kernel.org>
    a700a1e6
skl-pcm.c 34 KB