msm: vidc: return EBUSY when hw is overloaded
Component reports hw error to client immediately in
the same thread after stream on failure and blocks
subsequence errors to client. Therefore, the async
v4l2 event "V4L2_EVENT_MSM_VIDC_HW_OVERLOAD" will
be ignored in component level.
When loading resource fails because of hw
overload, instead of sending V4l2 event, we are
going to return EBUSY and this return value will
be checked in userspace.
Change-Id: I26b3315afbe4c7cc4be9e740595d1db5153467dc
Signed-off-by:
Jia Meng <jmeng@codeaurora.org>
Loading
Please register or sign in to comment