Skip to content

Commit

Permalink
V4L/DVB (6951): Integrates em28xx-audio.c into em28xx kernel module
Browse files Browse the repository at this point in the history
Also fixes the remaining CodingStyle issues that Lindent didn't fix.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
  • Loading branch information
Mauro Carvalho Chehab committed Jan 25, 2008
1 parent 1a6f11e commit 6d79468
Show file tree
Hide file tree
Showing 5 changed files with 365 additions and 260 deletions.
15 changes: 15 additions & 0 deletions drivers/media/video/em28xx/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,18 @@ config VIDEO_EM28XX

To compile this driver as a module, choose M here: the
module will be called em28xx

config VIDEO_EM28XX_ALSA
depends on VIDEO_EM28XX
tristate "Empia EM28xx ALSA audio module"
---help---
This is an ALSA driver for some Empia 28xx based TV cards.

This is not required for em2800/em2820/em2821 boards. However,
newer em28xx devices uses Vendor Class for audio, instead of
implementing the USB Audio Class. For those chips, this module
will enable digital audio.

To compile this driver as a module, choose M here: the
module will be called em28xx-alsa

3 changes: 3 additions & 0 deletions drivers/media/video/em28xx/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
em28xx-objs := em28xx-video.o em28xx-i2c.o em28xx-cards.o em28xx-core.o \
em28xx-input.o

em28xx-alsa-objs := em28xx-audio.o

obj-$(CONFIG_VIDEO_EM28XX) += em28xx.o
obj-$(CONFIG_VIDEO_EM28XX_ALSA) += em28xx-alsa.o

EXTRA_CFLAGS += -Idrivers/media/video
EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-core
Expand Down
Loading

0 comments on commit 6d79468

Please sign in to comment.