goto cleanup;
}
-
ret = am7xxx_close_device(dev);
if (ret < 0) {
perror("am7xxx_close_device");
}
/* When setting AM7XXX_ZOOM_TEST don't display the actual image */
- if (zoom == AM7XXX_ZOOM_TEST)
+ if (zoom == AM7XXX_ZOOM_TEST) {
+ printf("AM7XXX_ZOOM_TEST requested, not sending actual image.\n");
goto cleanup;
+ }
if ((unsigned int)width > device_info.native_width ||