v4l: CB1 v4l2_m2m_try_run crash while streamoff. [1/1]

PD#SWPL-194751

Problem:
After the streamoff is completed, v4l2_m2m_try_run gets the resource and
continues to run, and a null pointer crash occurs.

Solution:
While callback to job_abort in stream_off, flush the job queue to avoid
devices_run after stream_off.

Verify:
ohm

Change-Id: I4a2ec24eda3ec43588ffdd217444f1fd3183832d
Signed-off-by: yu.xie <yu.xie@amlogic.com>
2 files changed