commit | a38aaaa43d1acd037afd1bd84ebf9d855afdf714 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <weiyongjun1@huawei.com> | Thu Sep 15 00:36:09 2016 -0300 |
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | Mon Sep 19 14:18:42 2016 -0300 |
tree | 2b6f95b009739accafba87f066e3056d881134a3 | |
parent | e1618a57b9951a3182b52c4605948c8bb9bb0ea4 [diff] |
[media] vivid: fix error return code in vivid_create_instance() Fix to return error code -ENOMEM from the memory or workqueue alloc error handling case instead of 0, as done elsewhere in this function. Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>