Re: [PATCH v4 07/16] media: coda: stop all queues in case of lockup

2012-09-11 Thread javier Martin
On 10 September 2012 17:29, Philipp Zabel p.za...@pengutronix.de wrote: Add a 1 second timeout for each PIC_RUN command to the CODA. In case it locks up, stop all queues and dequeue remaining buffers. Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- Changes since v3: - Add struct

[PATCH v4 07/16] media: coda: stop all queues in case of lockup

2012-09-10 Thread Philipp Zabel
Add a 1 second timeout for each PIC_RUN command to the CODA. In case it locks up, stop all queues and dequeue remaining buffers. Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- Changes since v3: - Add struct coda_dev *dev pointer in coda_start_streaming. - Call cancel_delayed_work in