[media] s5p-mfc: fix encoder crash after VIDIOC_STREAMOFF
authorJohn Sheu <sheu@google.com>
Tue, 11 Mar 2014 22:52:02 +0000 (19:52 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 23 May 2014 17:56:34 +0000 (14:56 -0300)
VIDIOC_STREAMOFF clears the encoder's destination queue -- routines run
from the interrupt handler cannot assume that the queue is non-empty.

Signed-off-by: John Sheu <sheu@google.com>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>

No differences found