Re: [PATCH 2/2] ir-core: move decoding state to ir_raw_event_ctrl

2010-06-16 Thread Jarod Wilson
On Wed, Jun 16, 2010 at 4:06 PM, Jarod Wilson wrote: > On Sun, Jun 13, 2010 at 4:29 PM, David Härdeman wrote: >> This patch moves the state from each raw decoder into the >> ir_raw_event_ctrl struct. >> >> This allows the removal of code like this: >> >>        spin_lock(&decoder_lock); >>      

Re: [PATCH 2/2] ir-core: move decoding state to ir_raw_event_ctrl

2010-06-16 Thread Jarod Wilson
On Sun, Jun 13, 2010 at 4:29 PM, David Härdeman wrote: > This patch moves the state from each raw decoder into the > ir_raw_event_ctrl struct. > > This allows the removal of code like this: > >        spin_lock(&decoder_lock); >        list_for_each_entry(data, &decoder_list, list) { >            

[PATCH 2/2] ir-core: move decoding state to ir_raw_event_ctrl

2010-06-13 Thread David Härdeman
This patch moves the state from each raw decoder into the ir_raw_event_ctrl struct. This allows the removal of code like this: spin_lock(&decoder_lock); list_for_each_entry(data, &decoder_list, list) { if (data->ir_dev == ir_dev) break;