diff options
-rw-r--r-- | drivers/video/tegra/host/dev.c | 2 |
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( |