summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorXianzhong <b07117@freescale.com>2012-09-15 06:54:27 +0800
committerXianzhong <b07117@freescale.com>2012-09-15 07:22:26 +0800
commit1c6987dd2de5099b441a745f0ea8bd5d52244165 (patch)
tree3f3dab2774bffd8d1601c408d353718cf56e228a /drivers
parentc63e57fee3067a92b5f050ca37c857dff3b67b45 (diff)
ENGR00224404 gpu: fixed unpredictable return value
Hwcomposer check this return value and will crash due to init failure rarely. Signed-off-by: Xianzhong <b07117@freescale.com> Acked-by: Lily Zhang
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_driver.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_driver.c b/drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_driver.c
index 02aaf81faf95..3f873f09d1a0 100644
--- a/drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_driver.c
+++ b/drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_driver.c
@@ -496,6 +496,7 @@ long drv_ioctl(
iface.u.ChipInfo.count = count;
status = gcvSTATUS_OK;
+ iface.status = status;
}
else
{