image-device: Fix cancellation documentation
Image devices are simply deactivated suddenly. As such, the cancellation logic of FpDevice is not really useful there, but the documentation was apparently accidentally copied unmodified.
This commit is contained in:
parent
30e1a68344
commit
ce6961d165
1 changed files with 2 additions and 3 deletions
|
@ -72,9 +72,8 @@ typedef enum {
|
||||||
* fpi_device_action_error() function but doing so is not recommended in most
|
* fpi_device_action_error() function but doing so is not recommended in most
|
||||||
* usecases.
|
* usecases.
|
||||||
*
|
*
|
||||||
* Drivers *must* also handle cancellation properly for any long running
|
* Image drivers must expect a @deactivate call to happen at any point during
|
||||||
* operation (i.e. any operation that requires capturing). It is entirely fine
|
* image capture.
|
||||||
* to ignore cancellation requests for short operations (e.g. open/close).
|
|
||||||
*
|
*
|
||||||
* This API is solely intended for drivers. It is purely internal and neither
|
* This API is solely intended for drivers. It is purely internal and neither
|
||||||
* API nor ABI stable.
|
* API nor ABI stable.
|
||||||
|
|
Loading…
Reference in a new issue