[media] videobuf2-core: print current state of buffer in vb2_buffer_done
authorTushar Behera <tushar.behera@linaro.org>
Mon, 12 Nov 2012 07:01:29 +0000 (04:01 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 25 Mar 2013 12:15:53 +0000 (09:15 -0300)
commit9b6f5dc07ae008c58ea27e91a7b1dfbbd0f6972a
treec93fc2bc29937717d5b39c623ac7df88a5494742
parent7bce33daeaca26a3ea3f6099fdfe4e11ea46cac6
[media] videobuf2-core: print current state of buffer in vb2_buffer_done

In vb2_buffer_done, it would be better the print the value of 'state'
(current state of buffer) than to print 'vb->state' which is always
VB2_BUF_STATE_ACTIVE.

Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
Acked-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/v4l2-core/videobuf2-core.c