Currently, if streamon/streamoff calls are imbalanced we can either end up
with a negative ISI m2m usage_count (if streamoff() is called more times
than streamon()) in which case we'll not be able to restart the ISI pipe
next time, or the usage_count never gets to 0 and the pipe is never
switched off.
To avoid that, add a 'streaming' flag to mxc_isi_m2m_ctx_queue_data and use it
in the streamon/streamoff to avoid incrementing/decrementing the usage_count
uselessly, if called multiple times from the same context.
Fixes:
|
||
|---|---|---|
| .. | ||
| dw100 | ||
| imx-jpeg | ||
| imx8-isi | ||
| Kconfig | ||
| Makefile | ||
| imx-mipi-csis.c | ||
| imx-pxp.c | ||
| imx-pxp.h | ||
| imx7-media-csi.c | ||
| imx8mq-mipi-csi2.c | ||
| mx2_emmaprp.c | ||