Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 124586
b: refs/heads/master
c: de84830
h: refs/heads/master
v: v3
  • Loading branch information
Devin Heitmueller authored and Mauro Carvalho Chehab committed Dec 30, 2008
1 parent 4d8f15a commit cfe2a5d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 3fbf930951462871848b5b504fa4a10ab06d2fee
refs/heads/master: de84830e6959b046a99da3be12246458f4ab9825
3 changes: 2 additions & 1 deletion trunk/drivers/media/video/em28xx/em28xx-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,8 @@ int em28xx_audio_setup(struct em28xx *dev)
dev->audio_mode.i2s_5rates = 1;
}

if (!(cfg & EM28XX_CHIPCFG_AC97)) {
if ((cfg & EM28XX_CHIPCFG_AUDIOMASK) != EM28XX_CHIPCFG_AC97) {
/* Skip the code that does AC97 vendor detection */
dev->audio_mode.ac97 = EM28XX_NO_AC97;
goto init_audio;
}
Expand Down

0 comments on commit cfe2a5d

Please sign in to comment.