]> git.karo-electronics.de Git - linux-beck.git/commit
[media] vb2: call buf_finish after the state check
authorHans Verkuil <hans.verkuil@cisco.com>
Fri, 28 Feb 2014 16:30:48 +0000 (13:30 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 11 Mar 2014 09:56:44 +0000 (06:56 -0300)
commit9cf3c31a8b63f56066de73695e256b7da96fff1e
tree246624ae9878a21552eeda124cbabd53c4d092db
parent3f1a9a33a58eebcc5799d9a6b797e9e19cf8627f
[media] vb2: call buf_finish after the state check

Don't call buf_finish unless we know that the buffer is in a valid state.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/v4l2-core/videobuf2-core.c