diff options
author | Phi-Bang Nguyen <pnguyen@baylibre.com> | 2021-03-29 19:40:46 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-03-29 23:49:33 +0300 |
commit | 8634c38675a120b3650f9226871e57166aa21b26 (patch) | |
tree | 43511b171d79e5bbf98e48ec1163973c7948f73e /test/media_device | |
parent | 0e39510c05965ab56ebb9134490678ebae85c192 (diff) |
android: camera_device: Add null check for ScalerCrop control
The ScalerCrop control does not contain the null check which can cause
the camera HAL crash at boot. Fix it.
Fixes: 31a1a628cd0e ("android: camera_device: Register MAX_DIGITAL_ZOOM")
Signed-off-by: Phi-Bang Nguyen <pnguyen@baylibre.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'test/media_device')
0 files changed, 0 insertions, 0 deletions