Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 25267
b: refs/heads/master
c: 0bd43b5
h: refs/heads/master
i:
  25265: df0a152
  25263: cb24fdc
v: v3
  • Loading branch information
Markus Bollinger authored and Jaroslav Kysela committed Mar 31, 2006
1 parent f89ce62 commit 1cb6fea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ce7415f496e21775156b08452d22211f8c3ccc53
refs/heads/master: 0bd43b5bc9e61e9dc48ad5ee68737316e5d94b60
9 changes: 3 additions & 6 deletions trunk/sound/pci/pcxhr/pcxhr_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -274,12 +274,9 @@ int pcxhr_load_xilinx_binary(struct pcxhr_mgr *mgr, const struct firmware *xilin

/* test first xilinx */
chipsc = PCXHR_INPL(mgr, PCXHR_PLX_CHIPSC);
if (!second) {
if (chipsc & PCXHR_CHIPSC_GPI_USERI) {
snd_printdd("no need to load first xilinx\n");
return 0; /* first xilinx is already present and cannot be reset */
}
} else {
/* REV01 cards do not support the PCXHR_CHIPSC_GPI_USERI bit anymore */
/* this bit will always be 1; no possibility to test presence of first xilinx */
if(second) {
if ((chipsc & PCXHR_CHIPSC_GPI_USERI) == 0) {
snd_printk(KERN_ERR "error loading first xilinx\n");
return -EINVAL;
Expand Down

0 comments on commit 1cb6fea

Please sign in to comment.