V4L/DVB (8474): pvrusb2: Enable IR chip on HVR-1900 class devices

Previous thread: V4L/DVB (8472): cx23885: SRAM changes for the 885 and 887 silicon parts. by Linux Kernel Mailing List on Monday, July 28, 2008 - 10:02 am. (1 message)

Next thread: V4L/DVB (8475): pvrusb2: Cosmetic macro fix (benign) by Linux Kernel Mailing List on Monday, July 28, 2008 - 10:02 am. (1 message)
From: Linux Kernel Mailing List
Date: Monday, July 28, 2008 - 10:02 am

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=31335b...
Commit:     31335b13ca3925f361702ca4fc895ab165beddb9
Parent:     7e994302ed3fc6d209ce247ad5b6d9c2499bf7c2
Author:     Mike Isely <isely@pobox.com>
AuthorDate: Fri Jul 25 19:35:31 2008 -0300
Committer:  Mauro Carvalho Chehab <mchehab@infradead.org>
CommitDate: Sat Jul 26 12:54:35 2008 -0300

    V4L/DVB (8474): pvrusb2: Enable IR chip on HVR-1900 class devices
    
    The Zilog IR chip on HVR-1900 devices is held in reset when the device
    initializes.  We have to bring this chip out of reset before LIRC has
    any chance of operating the chip.  So do it.
    
    Signed-off-by: Mike Isely <isely@pobox.com>
    Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
---
 drivers/media/video/pvrusb2/pvrusb2-devattr.c  |    5 +++-
 drivers/media/video/pvrusb2/pvrusb2-devattr.h  |   26 +++++++++++++++--------
 drivers/media/video/pvrusb2/pvrusb2-fx2-cmd.h  |    2 +
 drivers/media/video/pvrusb2/pvrusb2-hdw.c      |    9 ++++++++
 drivers/media/video/pvrusb2/pvrusb2-i2c-core.c |    4 ++-
 5 files changed, 35 insertions(+), 11 deletions(-)

diff --git a/drivers/media/video/pvrusb2/pvrusb2-devattr.c b/drivers/media/video/pvrusb2/pvrusb2-devattr.c
index 5d036e7..e3b0511 100644
--- a/drivers/media/video/pvrusb2/pvrusb2-devattr.c
+++ b/drivers/media/video/pvrusb2/pvrusb2-devattr.c
@@ -97,13 +97,13 @@ static const struct pvr2_device_desc pvr2_device_24xxx = {
 		.flag_has_cx25840 = !0,
 		.flag_has_wm8775 = !0,
 		.flag_has_hauppauge_rom = !0,
-		.flag_has_hauppauge_custom_ir = !0,
 		.flag_has_analogtuner = !0,
 		.flag_has_fmradio = !0,
 		.flag_has_composite = !0,
 		.flag_has_svideo = !0,
 		.signal_routing_scheme = PVR2_ROUTING_SCHEME_HAUPPAUGE,
 		.led_scheme = PVR2_LED_SCHEME_HAUPPAUGE,
+		.ir_scheme = PVR2_IR_SCHEME_24XXX,
 };
 
 
@@ -344,6 +344,7 @@ static const struct pvr2_device_desc pvr2_device_73xxx = {
 ...
Previous thread: V4L/DVB (8472): cx23885: SRAM changes for the 885 and 887 silicon parts. by Linux Kernel Mailing List on Monday, July 28, 2008 - 10:02 am. (1 message)

Next thread: V4L/DVB (8475): pvrusb2: Cosmetic macro fix (benign) by Linux Kernel Mailing List on Monday, July 28, 2008 - 10:02 am. (1 message)