+ ret = am7xxx_open_device(ctx, &dev, 0);
+ if (ret < 0) {
+ perror("am7xxx_open_device");
+ exit_code = EXIT_FAILURE;
+ goto cleanup;
+ }
+
+
+ ret = am7xxx_close_device(dev);
+ if (ret < 0) {
+ perror("am7xxx_close_device");
+ exit_code = EXIT_FAILURE;
+ goto cleanup;
+ }
+
+ ret = am7xxx_open_device(ctx, &dev, 0);
+ if (ret < 0) {
+ perror("am7xxx_open_device");
+ exit_code = EXIT_FAILURE;
+ goto cleanup;
+ }
+