diff options
Diffstat (limited to 'sound/pci/pcxhr/pcxhr_hwdep.c')
-rw-r--r-- | sound/pci/pcxhr/pcxhr_hwdep.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/pci/pcxhr/pcxhr_hwdep.c b/sound/pci/pcxhr/pcxhr_hwdep.c index ec1587cddb0c..bf207e317f71 100644 --- a/sound/pci/pcxhr/pcxhr_hwdep.c +++ b/sound/pci/pcxhr/pcxhr_hwdep.c | |||
@@ -66,10 +66,10 @@ static int pcxhr_init_board(struct pcxhr_mgr *mgr) | |||
66 | err = pcxhr_send_msg(mgr, &rmh); | 66 | err = pcxhr_send_msg(mgr, &rmh); |
67 | if (err) | 67 | if (err) |
68 | return err; | 68 | return err; |
69 | /* test 8 or 12 phys out */ | 69 | /* test 4, 8 or 12 phys out */ |
70 | if ((rmh.stat[0] & MASK_FIRST_FIELD) != mgr->playback_chips * 2) | 70 | if ((rmh.stat[0] & MASK_FIRST_FIELD) < mgr->playback_chips * 2) |
71 | return -EINVAL; | 71 | return -EINVAL; |
72 | /* test 8 or 2 phys in */ | 72 | /* test 4, 8 or 2 phys in */ |
73 | if (((rmh.stat[0] >> (2 * FIELD_SIZE)) & MASK_FIRST_FIELD) < | 73 | if (((rmh.stat[0] >> (2 * FIELD_SIZE)) & MASK_FIRST_FIELD) < |
74 | mgr->capture_chips * 2) | 74 | mgr->capture_chips * 2) |
75 | return -EINVAL; | 75 | return -EINVAL; |