diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2006-04-03 09:08:57 -0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-04-03 09:08:57 -0400 |
commit | 76467874b83835129dc454e3a7a8e5d1186101b0 (patch) | |
tree | 162129f0c36c35be4aa323cf00626db0e804c3fc /sound/pci/pcxhr | |
parent | 8628de0583504138551a05ad44ca388467f0f552 (diff) | |
parent | 6246b6128bbe34d0752f119cf7c5111c85fe481d (diff) |
Merge branch 'master'
Diffstat (limited to 'sound/pci/pcxhr')
-rw-r--r-- | sound/pci/pcxhr/pcxhr_core.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/sound/pci/pcxhr/pcxhr_core.c b/sound/pci/pcxhr/pcxhr_core.c index fdc652c6992d..c40f59062684 100644 --- a/sound/pci/pcxhr/pcxhr_core.c +++ b/sound/pci/pcxhr/pcxhr_core.c | |||
@@ -274,12 +274,9 @@ int pcxhr_load_xilinx_binary(struct pcxhr_mgr *mgr, const struct firmware *xilin | |||
274 | 274 | ||
275 | /* test first xilinx */ | 275 | /* test first xilinx */ |
276 | chipsc = PCXHR_INPL(mgr, PCXHR_PLX_CHIPSC); | 276 | chipsc = PCXHR_INPL(mgr, PCXHR_PLX_CHIPSC); |
277 | if (!second) { | 277 | /* REV01 cards do not support the PCXHR_CHIPSC_GPI_USERI bit anymore */ |
278 | if (chipsc & PCXHR_CHIPSC_GPI_USERI) { | 278 | /* this bit will always be 1; no possibility to test presence of first xilinx */ |
279 | snd_printdd("no need to load first xilinx\n"); | 279 | if(second) { |
280 | return 0; /* first xilinx is already present and cannot be reset */ | ||
281 | } | ||
282 | } else { | ||
283 | if ((chipsc & PCXHR_CHIPSC_GPI_USERI) == 0) { | 280 | if ((chipsc & PCXHR_CHIPSC_GPI_USERI) == 0) { |
284 | snd_printk(KERN_ERR "error loading first xilinx\n"); | 281 | snd_printk(KERN_ERR "error loading first xilinx\n"); |
285 | return -EINVAL; | 282 | return -EINVAL; |