Commit bb376eb7 authored by Jaroslav Kysela's avatar Jaroslav Kysela Committed by Linus Torvalds

ALSA CVS update - Clemens Ladisch <clemens@ladisch.de>

AC97 Codec Core
fix detection of 2.3 codecs
parent 5ce671ff
...@@ -460,7 +460,7 @@ static inline int ac97_is_modem(ac97_t * ac97) ...@@ -460,7 +460,7 @@ static inline int ac97_is_modem(ac97_t * ac97)
} }
static inline int ac97_is_rev22(ac97_t * ac97) static inline int ac97_is_rev22(ac97_t * ac97)
{ {
return (ac97->ext_id & AC97_EI_REV_MASK) == AC97_EI_REV_22; return (ac97->ext_id & AC97_EI_REV_MASK) >= AC97_EI_REV_22;
} }
static inline int ac97_can_amap(ac97_t * ac97) static inline int ac97_can_amap(ac97_t * ac97)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment