• Mark Brown's avatar
    Merge series "ASoC: Intel: catpt: Offload fixes and code optimization" from... · 4fb87241
    Mark Brown authored
    Merge series "ASoC: Intel: catpt: Offload fixes and code optimization" from Cezary Rojewski <cezary.rojewski@intel.com>:
    
    First two of the series address bugs connected mainly to offload streams:
    - scenarios with very low buffer sizes: RESET_STREAM IPC timeouts
    - fix lp clock selection when switching between PAUSE <-> RESUME states:
      glitches on first offload when no additional stream is opened
      simultaneously
    
    Follow ups are: code reduction and optimization oriented patches.
    This has been foretold in:
    
    [PATCH v10 00/14] ASoC: Intel: Catpt - Lynx and Wildcat point
    https://www.spinics.net/lists/alsa-devel/msg116440.html
      Note: LPT power up/down sequences might get aligned with WPT once
      enough testing is done as capabilities are shared for both DSPs.
    
    First, optimize applying of user settings - prevent redundand calls from
    happening - and then as mentioned above, streamline power on/off sequence
    for LPT and WPT.
    
    Cezary Rojewski (5):
      ASoC: Intel: catpt: Skip position update for unprepared streams
      ASoC: Intel: catpt: Correct clock selection for dai trigger
      ASoC: Intel: catpt: Optimize applying user settings
      ASoC: Intel: catpt: Streamline power routines across LPT and WPT
      ASoC: Intel: catpt: Cleanup after power routines streamlining
    
     sound/soc/intel/catpt/core.h   |  10 ++-
     sound/soc/intel/catpt/device.c |  18 +++---
     sound/soc/intel/catpt/dsp.c    |  56 ++--------------
     sound/soc/intel/catpt/pcm.c    | 113 ++++++++++++++++-----------------
     4 files changed, 74 insertions(+), 123 deletions(-)
    
    --
    2.17.1
    
    base-commit: 3650b228
    4fb87241
dsp.c 14.6 KB