]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ALSA: hda - Fix PCM reconfigure
authorTakashi Iwai <tiwai@suse.de>
Thu, 27 Nov 2008 13:17:01 +0000 (14:17 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 27 Nov 2008 13:17:01 +0000 (14:17 +0100)
commit529bd6c4a63f8468fd66f63fdc22d7070439b3cd
tree3a45f17bbd45ef3e4ea785ce0bb79e6afef3e438
parentfee2fba3586f78762ecc5f432dfd3602765a31b3
ALSA: hda - Fix PCM reconfigure

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: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_codec.c
sound/pci/hda/hda_codec.h
sound/pci/hda/hda_hwdep.c