Re: [RFC PATCH] [media] rc: filter out not allowed protocols when decoding

2012-09-06 Thread Changbin Du
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: >> >

Re: [RFC PATCH] [media] rc: filter out not allowed protocols when decoding

2012-09-03 Thread Changbin Du
> > 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