]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/sysclk-lwla/lwla1016.c
sysclk-lwla: Attempt initialization three times
[libsigrok.git] / src / hardware / sysclk-lwla / lwla1016.c
index 0e30bf8ec9d9d9ed6a683009b459812bae94f698..61435553951ccf9285712df6c76672da5dcc72b6 100644 (file)
@@ -274,9 +274,7 @@ static int device_init_check(const struct sr_dev_inst *sdi)
 
        const unsigned int test_count = 24;
 
-       ret = lwla_read_reg(sdi->conn, REG_TEST_ID, &value);
-       if (ret != SR_OK)
-               return ret;
+       lwla_read_reg(sdi->conn, REG_TEST_ID, &value);
 
        /* Ignore the value returned by the first read. */
        ret = lwla_read_reg(sdi->conn, REG_TEST_ID, &value);