ALSA: oxygen: rewrite PCIe bridge initialization
commit7cb4ced5aa83b681c76b004c8960b4f2a6471fef
authorClemens Ladisch <clemens@ladisch.de>
Wed, 6 Oct 2010 08:57:50 +0000 (6 10:57 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 6 Oct 2010 14:27:12 +0000 (6 16:27 +0200)
tree8bb82ad7fa977c20470aedff6ed84d875713e3a5
parent93943beb29be7084afb61556e96bc454079bfb0e
ALSA: oxygen: rewrite PCIe bridge initialization

Change the PCIe/PCI bridge initialization code to configure only the
bridge that is actually connected to the sound chip, instead of any
bridge found in the system.  The new code also makes it easier to add
other bridges.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/oxygen/oxygen_lib.c