camera_async_deinit

Deinitialize camera sensor.

static int32_t camera_async_deinit(
    struct camera_async_descriptor *const descr
)

This function deinitializes the given camera sensor descriptor. It checks if the given hardware is initialized and if the given hardware is permitted to be deinitialized.

Parameters

descr

Type: struct camera_async_descriptor Struct *const

Camera sensor descriptor to deinitialize

Returns

Type: int32_t

De-initialization status.