]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/sysclk-lwla/lwla1034.c
sysclk-lwla: Attempt initialization three times
[libsigrok.git] / src / hardware / sysclk-lwla / lwla1034.c
index 62de549a639b2bd4f2ccec66f14aa7a8fbbc7429..d64641ea9d06b5106312da580a3fc3ca4d5fe293 100644 (file)
@@ -358,9 +358,7 @@ static int device_init_check(const struct sr_dev_inst *sdi)
        uint64_t value;
        int ret;
 
-       ret = read_long_reg(sdi->conn, LREG_TEST_ID, &value);
-       if (ret != SR_OK)
-               return ret;
+       read_long_reg(sdi->conn, LREG_TEST_ID, &value);
 
        /* Ignore the value returned by the first read. */
        ret = read_long_reg(sdi->conn, LREG_TEST_ID, &value);