]> asedeno.scripts.mit.edu Git - linux.git/commit
[media] coda: fix frame index to returned error
authorMichael Tretter <m.tretter@pengutronix.de>
Fri, 20 Jan 2017 14:00:23 +0000 (12:00 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 31 Jan 2017 10:16:03 +0000 (08:16 -0200)
commit7691f821ff19af21b1768d8f347764e61f9f5d2b
treec3c75d17ede0621a7b091d7d2210cbf145130c71
parentd677b6482bafc4006540917935a3c2e8f2f236b8
[media] coda: fix frame index to returned error

display_idx refers to the frame that will be returned in the next round.
The currently processed frame is ctx->display_idx and errors should be
reported for this frame.

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/coda/coda-bit.c