diff options
author | Jaroslav Kysela <perex@suse.cz> | 2004-04-24 20:31:45 +0200 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2004-04-24 20:31:45 +0200 |
commit | 02469e443436e102fccc84129f58f3d3f570e4ae (patch) | |
tree | 7e2eef1c7f6ae04da12921b1dced673a4dc6e38d /sound | |
parent | 8287de06b152f1655ca25c80b8db2d6fe7740692 (diff) | |
download | history-02469e443436e102fccc84129f58f3d3f570e4ae.tar.gz |
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
AC97 Codec Core
ac97->pci might be null
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/ac97/ac97_patch.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/pci/ac97/ac97_patch.c b/sound/pci/ac97/ac97_patch.c index 5761c156f3e649..0ca48b9534b699 100644 --- a/sound/pci/ac97/ac97_patch.c +++ b/sound/pci/ac97/ac97_patch.c @@ -471,7 +471,8 @@ int patch_sigmatel_stac9758(ac97_t * ac97) int i; /* Gateway M675 notebook */ - if (ac97->pci->subsystem_vendor == 0x107b && + if (ac97->pci && + ac97->pci->subsystem_vendor == 0x107b && ac97->pci->subsystem_device == 0x0601) pregs = m675_regs; |