summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/video/tegra/host/dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/tegra/host/dev.c b/drivers/video/tegra/host/dev.c
index 084b8bb3a63a..b552d5c52606 100644
--- a/drivers/video/tegra/host/dev.c
+++ b/drivers/video/tegra/host/dev.c
@@ -340,7 +340,7 @@ static int nvhost_ioctl_channel_flush(
if (err)
nvmap_unpin_handles(ctx->nvmap, ctx->unpinarray, num_unpin);
- return 0;
+ return err;
}
static int nvhost_ioctl_channel_read_3d_reg(