Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=8e84c6413a2bec1c3e67bb38d42422f9f3262c10
Commit:     8e84c6413a2bec1c3e67bb38d42422f9f3262c10
Parent:     44e0b6821d7eacb4f93d2c131d436f96e500aa08
Author:     Trent Piepho <[EMAIL PROTECTED]>
AuthorDate: Thu Oct 18 10:48:43 2007 +0200
Committer:  Jaroslav Kysela <[EMAIL PROTECTED]>
CommitDate: Tue Oct 23 08:04:34 2007 +0200

    [ALSA] snd-bt87x: Make the load_all option work correctly
    
    If the load_all option was turned on all cards would be treated as unknown,
    even those which are in the database.  Of course, if the card is in the
    database there is no reason to use the load_all option.  It's there to force
    loading when the card isn't in the database.  But there are out of date 
wikis
    that say to do this and some distros might turn this option on by default.
    So, we keep the load_all option from turning known cards into unknown cards.
    
    Signed-off-by: Trent Piepho <[EMAIL PROTECTED]>
    Signed-off-by: Takashi Iwai <[EMAIL PROTECTED]>
    Signed-off-by: Jaroslav Kysela <[EMAIL PROTECTED]>
---
 sound/pci/bt87x.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sound/pci/bt87x.c b/sound/pci/bt87x.c
index f960b82..2dba752 100644
--- a/sound/pci/bt87x.c
+++ b/sound/pci/bt87x.c
@@ -848,7 +848,7 @@ static int __devinit snd_bt87x_detect_card(struct pci_dev 
*pci)
        int i;
        const struct pci_device_id *supported;
 
-       supported = pci_match_device(&driver, pci);
+       supported = pci_match_id(snd_bt87x_ids, pci);
        if (supported && supported->driver_data > 0)
                return supported->driver_data;
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to