diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-22 11:18:27 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-30 06:39:27 -0500 |
commit | 531c98e71805b32e9ea35a218119100bbd2b7615 (patch) | |
tree | 548f878b2d4abd66bee8d0fa0b19eeb9cf3182c9 /drivers/media/video/em28xx/em28xx.h | |
parent | 4b00eb25340c1a9b9eedaf0bc5b0f0d18eddb028 (diff) |
V4L/DVB (9953): em28xx: Add suport for debugging AC97 anciliary chips
The em28xx driver can be coupled to an anciliary AC97 chip. This patch
allows read/write AC97 registers directly.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/em28xx/em28xx.h')
-rw-r--r-- | drivers/media/video/em28xx/em28xx.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/video/em28xx/em28xx.h b/drivers/media/video/em28xx/em28xx.h index 80d1d55d80f9..100f27819cdc 100644 --- a/drivers/media/video/em28xx/em28xx.h +++ b/drivers/media/video/em28xx/em28xx.h | |||
@@ -564,6 +564,9 @@ int em28xx_write_regs_req(struct em28xx *dev, u8 req, u16 reg, char *buf, | |||
564 | int em28xx_write_regs(struct em28xx *dev, u16 reg, char *buf, int len); | 564 | int em28xx_write_regs(struct em28xx *dev, u16 reg, char *buf, int len); |
565 | int em28xx_write_reg(struct em28xx *dev, u16 reg, u8 val); | 565 | int em28xx_write_reg(struct em28xx *dev, u16 reg, u8 val); |
566 | 566 | ||
567 | int em28xx_read_ac97(struct em28xx *dev, u8 reg); | ||
568 | int em28xx_write_ac97(struct em28xx *dev, u8 reg, u16 val); | ||
569 | |||
567 | int em28xx_audio_analog_set(struct em28xx *dev); | 570 | int em28xx_audio_analog_set(struct em28xx *dev); |
568 | int em28xx_audio_setup(struct em28xx *dev); | 571 | int em28xx_audio_setup(struct em28xx *dev); |
569 | 572 | ||