Explorar el Código

video: driver: return bootup timeout error

return bootup timeout error

Change-Id: I0123bdd8c9f23b4d680085c1bb8dd2620312c60f
Signed-off-by: Darshana Patil <[email protected]>
Darshana Patil hace 3 años
padre
commit
ec7093a322
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      driver/variant/iris2/src/msm_vidc_iris2.c

+ 1 - 1
driver/variant/iris2/src/msm_vidc_iris2.c

@@ -919,7 +919,7 @@ static int __boot_firmware_iris2(struct msm_vidc_core *vidc_core)
 
 	if (count >= max_tries) {
 		d_vpr_e("Error booting up vidc firmware\n");
-		rc = -ETIME;
+		return -ETIME;
 	}
 
 	/* Enable interrupt before sending commands to venus */