Ignore:
Timestamp:
Aug 21, 2021, 3:35:34 AM (4 years ago)
Author:
David Azarewicz
Message:

Merge changes from next branch.

Location:
GPL/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • GPL/trunk

  • GPL/trunk/alsa-kernel/include/sound/soc-dpcm.h

    r679 r695  
    150150        int stream, struct snd_soc_dapm_widget_list **list, int new);
    151151int dpcm_be_dai_startup(struct snd_soc_pcm_runtime *fe, int stream);
    152 int dpcm_be_dai_shutdown(struct snd_soc_pcm_runtime *fe, int stream);
     152void dpcm_be_dai_stop(struct snd_soc_pcm_runtime *fe, int stream,
     153                      int do_hw_free, struct snd_soc_dpcm *last);
    153154void dpcm_be_disconnect(struct snd_soc_pcm_runtime *fe, int stream);
    154155void dpcm_clear_pending_state(struct snd_soc_pcm_runtime *fe, int stream);
    155 int dpcm_be_dai_hw_free(struct snd_soc_pcm_runtime *fe, int stream);
     156void dpcm_be_dai_hw_free(struct snd_soc_pcm_runtime *fe, int stream);
    156157int dpcm_be_dai_hw_params(struct snd_soc_pcm_runtime *fe, int tream);
    157158int dpcm_be_dai_trigger(struct snd_soc_pcm_runtime *fe, int stream, int cmd);
     
    160161        int event);
    161162
     163#define dpcm_be_dai_startup_rollback(fe, stream, last)  \
     164                                                dpcm_be_dai_stop(fe, stream, 0, last)
     165#define dpcm_be_dai_startup_unwind(fe, stream)  dpcm_be_dai_stop(fe, stream, 0, NULL)
     166#define dpcm_be_dai_shutdown(fe, stream)        dpcm_be_dai_stop(fe, stream, 1, NULL)
     167
    162168#endif
Note: See TracChangeset for help on using the changeset viewer.