V4L/DVB (6269): V4L: Fix a "scheduling while atomic" bug in saa7134
commitb4aeb8b8232bd80764997bf38f574f63e118c259
authorMaxim Levitsky <maximlevitsky@gmail.com>
Thu, 27 Sep 2007 23:34:15 +0000 (27 20:34 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 10 Oct 2007 03:02:58 +0000 (10 00:02 -0300)
treef761305843c1e3450c93d82cea1342b964bb990d
parent9900132f3437e9373aa030cdb5bd2d5db15566e3
V4L/DVB (6269): V4L: Fix a "scheduling while atomic" bug in saa7134

set_tvnorm can sleep in saa7134_i2c_xfer
(it will be called through tuner code)
but code calls it under spinlock. Fix that

Signed-off-by: Maxim Levitsky <maximlevitsky@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/saa7134/saa7134-video.c