camera_common: add -EUSERS to set_torch_mode
To match the public API, seperate camera device in use and other resources in use errors. Bug: 2682206 Change-Id: Ie0451931f0c84fc65f3f6294a9f44bec10627afe
This commit is contained in:
parent
8c0e65b45d
commit
273def398c
1 changed files with 6 additions and 4 deletions
|
@ -748,10 +748,12 @@ typedef struct camera_module {
|
|||
* returned if and only if android.flash.info.available is
|
||||
* false.
|
||||
*
|
||||
* -EBUSY: The flash unit or the resource needed to turn on the torch
|
||||
* mode is busy, typically because the camera device is already
|
||||
* in use, or some other camera device is using enough
|
||||
* resources to make using the flash unit not possible.
|
||||
* -EBUSY: The camera device is already in use.
|
||||
*
|
||||
* -EUSERS: The resources needed to turn on the torch mode are not
|
||||
* available, typically because other camera devices are
|
||||
* holding the resources to make using the flash unit not
|
||||
* possible.
|
||||
*
|
||||
* -EINVAL: camera_id is invalid.
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue