[1/2,media] em28xx: Add remote control support for Terratec's Cinergy HTC Stick HD

Message ID 1338326368-20108-1-git-send-email-martin.blumenstingl@googlemail.com (mailing list archive)
State Accepted, archived
Headers

Commit Message

Martin Blumenstingl May 29, 2012, 9:19 p.m. UTC
The Cinergy HTC Stick HD uses the same remote control as the TerraTec
Cinergy XS products. Thus the same keymap could be re-used.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
---
 drivers/media/video/em28xx/em28xx-cards.c |    1 +
 1 file changed, 1 insertion(+)
  

Comments

Martin Blumenstingl May 29, 2012, 9:23 p.m. UTC | #1
Hello everyone,

sorry for the first reply - I messed up the git send-email command.
This is the correct version of the patch (including my signed-off-by
and a whitespace fix).

Regards,
Martin

On Tue, May 29, 2012 at 11:19 PM, Martin Blumenstingl
<martin.blumenstingl@googlemail.com> wrote:
> The Cinergy HTC Stick HD uses the same remote control as the TerraTec
> Cinergy XS products. Thus the same keymap could be re-used.
>
> Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
> ---
>  drivers/media/video/em28xx/em28xx-cards.c |    1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/media/video/em28xx/em28xx-cards.c b/drivers/media/video/em28xx/em28xx-cards.c
> index 20a7e24..92da7c2 100644
> --- a/drivers/media/video/em28xx/em28xx-cards.c
> +++ b/drivers/media/video/em28xx/em28xx-cards.c
> @@ -974,6 +974,7 @@ struct em28xx_board em28xx_boards[] = {
>        [EM2884_BOARD_CINERGY_HTC_STICK] = {
>                .name         = "Terratec Cinergy HTC Stick",
>                .has_dvb      = 1,
> +               .ir_codes     = RC_MAP_NEC_TERRATEC_CINERGY_XS,
>  #if 0
>                .tuner_type   = TUNER_PHILIPS_TDA8290,
>                .tuner_addr   = 0x41,
> --
> 1.7.10.2
>
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
  

Patch

diff --git a/drivers/media/video/em28xx/em28xx-cards.c b/drivers/media/video/em28xx/em28xx-cards.c
index 20a7e24..92da7c2 100644
--- a/drivers/media/video/em28xx/em28xx-cards.c
+++ b/drivers/media/video/em28xx/em28xx-cards.c
@@ -974,6 +974,7 @@  struct em28xx_board em28xx_boards[] = {
 	[EM2884_BOARD_CINERGY_HTC_STICK] = {
 		.name         = "Terratec Cinergy HTC Stick",
 		.has_dvb      = 1,
+		.ir_codes     = RC_MAP_NEC_TERRATEC_CINERGY_XS,
 #if 0
 		.tuner_type   = TUNER_PHILIPS_TDA8290,
 		.tuner_addr   = 0x41,