Explorar el Código

qcedev: do not report sps errors for presil

sps driver is not enabled/tested in pre-sil, so
do not error out during probe for sps failures.

Change-Id: I0b3bb5684ea63b72cbd3735f8c92e62c3fb3d20c
Gaurav Kashyap hace 3 años
padre
commit
f5ec206c26
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. 3 3
      crypto-qti/qce50.c

+ 3 - 3
crypto-qti/qce50.c

@@ -6055,9 +6055,9 @@ void *qce_open(struct platform_device *pdev, int *rc)
 
 	qce_init_ce_cfg_val(pce_dev);
 	*rc  = qce_sps_init(pce_dev);
-	if (*rc)
-		goto err;
-	qce_setup_ce_sps_data(pce_dev);
+	if (*rc == 0)
+		qce_setup_ce_sps_data(pce_dev);
+	*rc = 0;
 	qce_disable_clk(pce_dev);
 	setup_dummy_req(pce_dev);
 	atomic_set(&pce_dev->no_of_queued_req, 0);