• Takashi Iwai's avatar
    ALSA: x86: Move stream status into pcm_stream_info · f69bd104
    Takashi Iwai authored
    The only remaining field in struct had_stream_data is stream_type that
    holds the current stream status.  Such information fits better in
    struct pcm_stream_info, so move it as a boolean "running" field to be
    clearer.
    
    This allows us to get rid or had_stream_data definition and
    references.
    
    Also, the superfluous status check get removed in a couple of places
    where we can call PCM helpers in anyway.
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    f69bd104
intel_hdmi_audio.h 3.89 KB