lib: Fix error messages in async capture functions

They mentioned verification instead of capture.
This commit is contained in:
Bastien Nocera 2018-10-11 17:18:11 +02:00
parent f42cd6eefd
commit 36b696f433

View file

@ -538,7 +538,7 @@ API_EXPORTED int fp_async_capture_start(struct fp_dev *dev, int unconditional,
if (r < 0) {
dev->capture_cb = NULL;
dev->state = DEV_STATE_ERROR;
fp_err("failed to start verification, error %d", r);
fp_err("failed to start capture, error %d", r);
}
return r;
}
@ -624,7 +624,7 @@ API_EXPORTED int fp_async_capture_stop(struct fp_dev *dev,
r = drv->capture_stop(dev);
if (r < 0) {
fp_err("failed to stop verification");
fp_err("failed to stop capture");
dev->capture_stop_cb = NULL;
}
return r;