Sean , many thanks for your help. I know much more about IR framwork
now. I'll try to
work out a patch to remove "allowed_protocols".
Thanks again!
[Du, Changbin]
2012/9/4 Sean Young :
> On Tue, Sep 04, 2012 at 11:06:07AM +0800, Changbin Du wrote:
>> > > mutex_lock(&ir_raw_handler_l
On Tue, Sep 04, 2012 at 11:06:07AM +0800, Changbin Du wrote:
> > > mutex_lock(&ir_raw_handler_lock);
> > > - list_for_each_entry(handler, &ir_raw_handler_list, list)
> > > - handler->decode(raw->dev, ev);
> > > + list_for_each_entry(handler,
> > mutex_lock(&ir_raw_handler_lock);
> > - list_for_each_entry(handler, &ir_raw_handler_list, list)
> > - handler->decode(raw->dev, ev);
> > + list_for_each_entry(handler, &ir_raw_handler_list, list) {
> > + /* use all p
On Sat, Sep 01, 2012 at 09:57:09AM +0800, Du, Changbin wrote:
> 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 decod
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, Changbin
---
drivers/media/rc/ir