From: "Du, Changbin"
Each rc-raw device has a property "allowed_protos" stored in structure
ir_raw_event_ctrl. But it didn't work because all decoders would be
called when decoding. This path makes only allowed protocol decoders
been invoked.
Signed-off-by: Du, Changb
From: "Du, Changbin"
changes:
1. wrap some lines that are longer than 80 characters.
2. remove local function prototype declarations which do not
need.
3. replace TAB character with a space character in function
comments.
Signed-off-by: Du
gt; >*Added support for the "Lola" remote contributed by:
> >*Seth Cohn
> > + * Jul 2012: Du, Changbin
> > + *Code style and compile warning fixing
>
> You shouldn't be changing the driver's autho
init2[] to
"unsigned char" to avoid compile warning.
Signed-off-by: Du, Changbin
---
drivers/media/rc/ati_remote.c | 139
+
1 file changed, 84 insertions(+), 55 deletions(-)
diff --git a/drivers/media/rc/ati_remote.c b/driver
character with a space character in function
> comments.
> 4. change the types of array init1[] and init2[] to
> "unsigned char" to avoid compile warning.
>
> Signed-off-by: Du, Changbin
> ---
> drivers/media/rc/ati_remote.c | 139
> ++
Make it possible to specify allowed RC protocols through the device's
platform data.
Signed-off-by: Du, Changbin
---
For v2:
Keymap has already done by another patch.
---
drivers/media/rc/gpio-ir-recv.c |2 +-
include/media/gpio-ir-recv.h|7 ---
2 files chang
> Hi Changbin,
>
> On Tue, Jul 3, 2012 at 12:27:19PM +0200, Changbin Du wrote:
> > It's better to give platform code a chance to specify the allowed
> > protocols and which keymap to use.
>
> Already half done here:
> http://git.linuxtv.org/media_tree.git?a=commitdiff;h=2bd237b
Got it, thanks.
It's better to give platform code a chance to specify the allowed
protocols and which keymap to use.
Signed-off-by: Du, Changbin
---
drivers/media/rc/gpio-ir-recv.c | 10 --
include/media/gpio-ir-recv.h|6 --
2 files changed, 12 insertions(+), 4 deletions(-)
diff --
init2[] to
"unsigned char" to avoid compile warning.
Signed-off-by: Du, Changbin
---
drivers/media/rc/ati_remote.c | 139
+
1 file changed, 84 insertions(+), 55 deletions(-)
diff --git a/drivers/media/rc/ati_remote.c b/driver