sim/video: fix hang when user temporarily blocks
host_set_fmt should not return error when EBUSY Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
This commit is contained in:
parent
a897fe3005
commit
9f537d7a3f
@ -229,7 +229,7 @@ static int sim_video_data_start_capture(uint8_t nr_datafmt,
|
||||
imgdata_fmt_to_v4l2(
|
||||
datafmt[IMGDATA_FMT_MAIN].pixelformat),
|
||||
interval->denominator, interval->numerator);
|
||||
if (ret < 0)
|
||||
if (ret < 0 && ret != -EBUSY)
|
||||
{
|
||||
return ret;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user