• Takashi Iwai's avatar
    ALSA: hda - Fix PCM reconfigure · 529bd6c4
    Takashi Iwai authored
    The reconfiguration of PCM affected all PCM streams on the bus, but
    this this should be done rather only for the target codec.
    
    This patch does the following:
    - introduce bitmap indicating the PCM device usages on a hda_bus
    - refactor the PCM build functions
    - fix __devinit prefix in some fucntions
    - add a proper ifdef around HDA-reconfig-specific functions
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    529bd6c4
hda_codec.c 88.7 KB