The patch number 8107 was added via Hans Verkuil <[EMAIL PROTECTED]>
to http://linuxtv.org/hg/v4l-dvb master development tree.

Kernel patches in this development tree may be modified to be backward
compatible with older kernels. Compatibility modifications will be
removed before inclusion into the mainstream Kernel

If anyone has any objections, please let us know by sending a message to:
        [EMAIL PROTECTED]

------

From: Hans Verkuil  <[EMAIL PROTECTED]>
cx18: improve support for the Raptor board.


- add radio definition
- reset the audio firmware (required for this board, harmless for the
others)

Signed-off-by: Hans Verkuil <[EMAIL PROTECTED]>


---

 linux/drivers/media/video/cx18/cx18-cards.c    |    1 +
 linux/drivers/media/video/cx18/cx18-firmware.c |    4 +---
 2 files changed, 2 insertions(+), 3 deletions(-)

diff -r df5a96213586 -r 595fe1ec7511 linux/drivers/media/video/cx18/cx18-cards.c
--- a/linux/drivers/media/video/cx18/cx18-cards.c       Sun Jun 22 14:08:16 
2008 +0200
+++ b/linux/drivers/media/video/cx18/cx18-cards.c       Sun Jun 22 14:11:13 
2008 +0200
@@ -268,6 +268,7 @@ static const struct cx18_card cx18_card_
        .tuners = {
                { .std = V4L2_STD_PAL_SECAM, .tuner = 
TUNER_PHILIPS_FM1216ME_MK3 },
        },
+       .radio_input = { CX18_CARD_INPUT_AUD_TUNER, CX18_AV_AUDIO_SERIAL, 0 },
        .ddr = {
                /* MT 46V16M16 memory */
                .chip_config = 0x50306,
diff -r df5a96213586 -r 595fe1ec7511 
linux/drivers/media/video/cx18/cx18-firmware.c
--- a/linux/drivers/media/video/cx18/cx18-firmware.c    Sun Jun 22 14:08:16 
2008 +0200
+++ b/linux/drivers/media/video/cx18/cx18-firmware.c    Sun Jun 22 14:11:13 
2008 +0200
@@ -344,13 +344,11 @@ int cx18_firmware_init(struct cx18 *cx)
        if (read_reg(CX18_PROC_SOFT_RESET) & 8) {
                int sz = load_apu_fw_direct("v4l-cx23418-apu.fw",
                               cx->enc_mem, cx, CX18_FW_APU_SIZE);
-#if 0
-               /* this might be needed after all, check later */
+
                write_enc(0xE51FF004, 0);
                write_enc(0xa00000, 4);  /* todo: not hardcoded */
                write_reg(0x00010000, CX18_PROC_SOFT_RESET); /* Start APU */
                cx18_msleep_timeout(500, 0);
-#endif
 
                sz = sz <= 0 ? sz : load_cpu_fw_direct("v4l-cx23418-cpu.fw",
                                        cx->enc_mem, cx, CX18_FW_CPU_SIZE);


---

Patch is available at: 
http://linuxtv.org/hg/v4l-dvb/rev/595fe1ec7511b7cca3799cedb98dccbd9f74c098

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to