OSDN Git Service

exynos: fimg2d: fix return codes
authorTobias Jakobi <tjakobi@math.uni-bielefeld.de>
Fri, 12 Jun 2015 18:15:06 +0000 (20:15 +0200)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 29 Jun 2015 18:19:23 +0000 (19:19 +0100)
commit7da8f07274cfe57cfd157e184f1f0b4c15405b9e
treed10c45cd1479471cac123b9874787181943a995f
parent47a2de27a0f087908e3063fdd6dfdececd2db75b
exynos: fimg2d: fix return codes

Even if flushing the command buffer doesn't succeed, the
G2D calls would still return zero. Fix this by just passing
the flush return code.

In fact error handling currently ignores the fact that
g2d_add_cmd() can fail. This is going to be handled
in a later patch.

Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
Acked-by: Emil Velikov <emil.l.velikov@gmail.com>
exynos/exynos_fimg2d.c