linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] keytable: Fix copy and paste error for SANYO IR protocol
@ 2012-01-19 13:42 Gregor Jasny
  2012-01-19 13:42 ` Gregor Jasny
  0 siblings, 1 reply; 3+ messages in thread
From: Gregor Jasny @ 2012-01-19 13:42 UTC (permalink / raw)
  To: Linux Media Mailing List; +Cc: Mauro Carvalho Chehab

Hi Mauro,

There seems to be a copy and paste error in the Sanyo protocol handling.
Please commit or ack this patch.

Thanks,
Gregor

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] keytable: Fix copy and paste error for SANYO IR protocol
  2012-01-19 13:42 [PATCH] keytable: Fix copy and paste error for SANYO IR protocol Gregor Jasny
@ 2012-01-19 13:42 ` Gregor Jasny
  2012-01-19 13:58   ` Mauro Carvalho Chehab
  0 siblings, 1 reply; 3+ messages in thread
From: Gregor Jasny @ 2012-01-19 13:42 UTC (permalink / raw)
  To: Linux Media Mailing List; +Cc: Mauro Carvalho Chehab, Gregor Jasny

Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
---
 utils/keytable/keytable.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/utils/keytable/keytable.c b/utils/keytable/keytable.c
index 93609d2..f03de26 100644
--- a/utils/keytable/keytable.c
+++ b/utils/keytable/keytable.c
@@ -226,7 +226,7 @@ static error_t parse_keyfile(char *fname, char **table)
 						else if (!strcasecmp(p,"sony"))
 							ch_proto |= SONY;
 						else if (!strcasecmp(p,"sanyo"))
-							ch_proto |= SONY;
+							ch_proto |= SANYO;
 						else if (!strcasecmp(p,"other") || !strcasecmp(p,"unknown"))
 							ch_proto |= OTHER;
 						else {
-- 
1.7.8.3


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] keytable: Fix copy and paste error for SANYO IR protocol
  2012-01-19 13:42 ` Gregor Jasny
@ 2012-01-19 13:58   ` Mauro Carvalho Chehab
  0 siblings, 0 replies; 3+ messages in thread
From: Mauro Carvalho Chehab @ 2012-01-19 13:58 UTC (permalink / raw)
  To: Gregor Jasny; +Cc: Linux Media Mailing List

Em 19-01-2012 11:42, Gregor Jasny escreveu:
> Signed-off-by: Gregor Jasny <gjasny@googlemail.com>

Acked-by: Mauro Carvalho Chehab <mchehab@redhat.com>
> ---
>  utils/keytable/keytable.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/utils/keytable/keytable.c b/utils/keytable/keytable.c
> index 93609d2..f03de26 100644
> --- a/utils/keytable/keytable.c
> +++ b/utils/keytable/keytable.c
> @@ -226,7 +226,7 @@ static error_t parse_keyfile(char *fname, char **table)
>  						else if (!strcasecmp(p,"sony"))
>  							ch_proto |= SONY;
>  						else if (!strcasecmp(p,"sanyo"))
> -							ch_proto |= SONY;
> +							ch_proto |= SANYO;
>  						else if (!strcasecmp(p,"other") || !strcasecmp(p,"unknown"))
>  							ch_proto |= OTHER;
>  						else {


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-01-19 13:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-19 13:42 [PATCH] keytable: Fix copy and paste error for SANYO IR protocol Gregor Jasny
2012-01-19 13:42 ` Gregor Jasny
2012-01-19 13:58   ` Mauro Carvalho Chehab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).