]> git.karo-electronics.de Git - linux-beck.git/commit
[media] m5mols: Change the end of frame v4l2_subdev notification id
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Fri, 28 Oct 2011 14:50:44 +0000 (11:50 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 30 Dec 2011 16:37:40 +0000 (14:37 -0200)
commitd5048c9a289485f65d108ede183dd3f02f1cd408
treefb51fd0fc5c219035eb00db252125ac0bfe765e1
parent92e93a1fd065c8dfa592b01d3cb681e83bfc98eb
[media] m5mols: Change the end of frame v4l2_subdev notification id

Change the v4l2_device notifications id to S5P_FIMC_TX_END_NOTIFY.

Moreover, when frame capture fails, send an 'end of frame' notification
with size set to 0 to let the host driver return a buffer back to the
user and prevent applications waiting forever on DQBUF.

The notification is needed only for the s5p-fimc driver.

Acked-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_capture.c