Jae Hyun Yoo 578c5ab074 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>
2019-08-26 10:46:29 -03:00
..
2019-05-28 11:21:51 -04:00
2019-06-11 12:09:28 -04:00
2019-08-13 11:36:48 -03:00
2019-08-23 07:31:35 -03:00
2019-08-12 13:22:54 -03:00
2019-08-26 10:41:17 -03:00