Commit 62f3e69bd5ff9db1574356a84895324ab3896e44

Authored by Devin Heitmueller
Committed by Mauro Carvalho Chehab
1 parent 7ed3a7a311

V4L/DVB (10122): em28xx: don't load em28xx-alsa for em2870 based devices

Like the em2874, the em2870 does not have any analog support, so don't bother
loading the em28xx-alsa module.

Signed-off-by: Devin Heitmueller <dheitmueller@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

drivers/media/video/em28xx/em28xx-core.c
... ... @@ -465,7 +465,7 @@
465 465 int vid1, vid2, feat, cfg;
466 466 u32 vid;
467 467  
468   - if (dev->chip_id == CHIP_ID_EM2874) {
  468 + if (dev->chip_id == CHIP_ID_EM2870 || dev->chip_id == CHIP_ID_EM2874) {
469 469 /* Digital only device - don't load any alsa module */
470 470 dev->audio_mode.has_audio = 0;
471 471 dev->has_audio_class = 0;