commit | 578c5ab074981b1e74331e58df4b8ef4439df563 | [log] [tgz] |
---|---|---|
author | Jae Hyun Yoo <jae.hyun.yoo@linux.intel.com> | Fri Aug 23 18:29:57 2019 -0300 |
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | Mon Aug 26 10:46:29 2019 -0300 |
tree | d3551d3ab232f5381b0890dc50b482f5f420efa3 | |
parent | 834a1cfee8340775798296eb693964c883e239a2 [diff] |
media: aspeed: fix an incorrect return code on buffer allocation failure It returns '0' even when a failure happens on jpeg buffer allocation so this commit fixes the issue. Signed-off-by: Jae Hyun Yoo <jae.hyun.yoo@linux.intel.com> Reviewed-by: Andrew Jeffery <andrew@aj.id.au> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>