[media] m5mols: Improve the interrupt handling routines
authorHeungJun Kim <riverful.kim@samsung.com>
Sat, 3 Dec 2011 00:53:20 +0000 (21:53 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 30 Dec 2011 16:34:27 +0000 (14:34 -0200)
commitce808a478ae5b79e52ea170b35c459829296330f
treecd281cacb0756ea8b216a05cdefe10750afd85a3
parent575d6252a715c599964ec6ec06428e6362c0633e
[media] m5mols: Improve the interrupt handling routines

The work struct based interrupt handling is not flexible enough
as the M-5MOLS control sequence involves I2C access sequences
before and after an interrupt is generated. A single waitqueue is
enough for the job so remove the work struct based code.

Signed-off-by: HeungJun Kim <riverful.kim@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/m5mols/m5mols.h
drivers/media/video/m5mols/m5mols_capture.c
drivers/media/video/m5mols/m5mols_core.c