Re: [PATCH] [media] rc: do not sleep when the driver blocks on IR completion

2012-08-25 Thread Sean Young
On Sat, Aug 25, 2012 at 11:25:26AM +0200, David Härdeman wrote: > On Sat, Aug 25, 2012 at 12:26:25AM +0100, Sean Young wrote: > >On Sat, Aug 25, 2012 at 12:05:18AM +0200, David Härdeman wrote: > >> On Thu, Aug 23, 2012 at 10:18:35PM +0100, Sean Young wrote: > >> >Some drivers wait for the IR device

Re: [PATCH] [media] rc: do not sleep when the driver blocks on IR completion

2012-08-25 Thread David Härdeman
On Sat, Aug 25, 2012 at 12:26:25AM +0100, Sean Young wrote: >On Sat, Aug 25, 2012 at 12:05:18AM +0200, David Härdeman wrote: >> On Thu, Aug 23, 2012 at 10:18:35PM +0100, Sean Young wrote: >> >Some drivers wait for the IR device to complete sending before >> >returning, so sleeping should not be don

Re: [PATCH] [media] rc: do not sleep when the driver blocks on IR completion

2012-08-24 Thread Sean Young
On Sat, Aug 25, 2012 at 12:05:18AM +0200, David Härdeman wrote: > On Thu, Aug 23, 2012 at 10:18:35PM +0100, Sean Young wrote: > >Some drivers wait for the IR device to complete sending before > >returning, so sleeping should not be done. > > I'm not quite sure what the purpose is. Even if a driver

Re: [PATCH] [media] rc: do not sleep when the driver blocks on IR completion

2012-08-24 Thread David Härdeman
On Thu, Aug 23, 2012 at 10:18:35PM +0100, Sean Young wrote: >Some drivers wait for the IR device to complete sending before >returning, so sleeping should not be done. I'm not quite sure what the purpose is. Even if a driver waits for TX to finish, the lirc imposed sleep isn't harmful in any way.

[PATCH] [media] rc: do not sleep when the driver blocks on IR completion

2012-08-23 Thread Sean Young
Some drivers wait for the IR device to complete sending before returning, so sleeping should not be done. Signed-off-by: Sean Young --- drivers/media/rc/iguanair.c | 1 + drivers/media/rc/ir-lirc-codec.c | 5 + drivers/media/rc/winbond-cir.c | 1 + include/media/rc-core.h | 2