• Takashi Iwai's avatar
    ALSA: x86: Embed snd_intelhad into snd_card · 5647aec2
    Takashi Iwai authored
    Instead of allocating snd_intelhad struct, use the card's private_data
    and embed it.  It simplifies the code a lot.
    
    While we're at it, embed had_stream into snd_intelhad struct instead
    of individually allocating, and rename had_pvt_data to a bit more
    specific name, had_stream_data.
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    5647aec2
intel_hdmi_audio_if.c 15.6 KB