summaryrefslogtreecommitdiff
path: root/wctdm24xxp.c
diff options
context:
space:
mode:
Diffstat (limited to 'wctdm24xxp.c')
-rw-r--r--wctdm24xxp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/wctdm24xxp.c b/wctdm24xxp.c
index 3cc4767..6606feb 100644
--- a/wctdm24xxp.c
+++ b/wctdm24xxp.c
@@ -1629,10 +1629,10 @@ static int wctdm_proslic_insane(struct wctdm *wc, int card)
printk("ProSLIC 3210 version %d is too old\n", blah & 0xf);
return -1;
}
- if ((blah & 0xf) == 2) {
+ if (wctdm_getreg(wc, card, 1) & 0x80)
/* ProSLIC 3215, not a 3210 */
wc->flags[card] |= FLAG_3215;
- }
+
blah = wctdm_getreg(wc, card, 8);
if (blah != 0x2) {
printk("ProSLIC on module %d insane (1) %d should be 2\n", card, blah);