On Wed, 2010-07-28 at 13:03 -0300, Mauro Carvalho Chehab wrote: > Em 28-07-2010 12:14, Maxim Levitsky escreveu: > > Some handlers (lirc for example) allocates memory on initialization, > > doing so in atomic context is cumbersome. > > Fixes warning about sleeping function in atomic context. > > You should not replace it by a mutex, as the decoding code may happen during > IRQ time on several drivers. I though decoding code is run by a work queue? I don't see any atomic codepath here... > > If lirc is allocating memory, it should be using GFP_ATOMIC to avoid sleeping. If its really not possible, I can make lirc use GFP_ATOMIC. a bit ugly, but should work. Best regards, -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html