diff options
author | Naushir Patuck <naush@raspberrypi.com> | 2025-02-13 08:58:21 +0000 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2025-02-13 10:41:45 +0000 |
commit | 2e8b6fd2178e199049c47b5f8f929f3d53f95362 (patch) | |
tree | a1d00804df4f9000a203d378e170e950d92d9030 /src/ipa/libipa/pwl.h | |
parent | fa93d40035dbb90540a4fada404344eb3183410e (diff) |
ipa: rpi: Fix incorrect cast for ExposureTime ControlInfo
controls::ExposureTime is of type ControlTypeInteger32, but the
default ControlInfoMap casts a value to int64_t causing incorrect
initialisation of the associated ControlInfo.
Fix this by casting correctly to int32_t.
Fixes: bea2db5e6190 ("ipa: rpi: Apply default ControlInfo values for sensor controls")
Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
Reviewed-by: David Plowman <david.plowman@raspberrypi.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/ipa/libipa/pwl.h')
0 files changed, 0 insertions, 0 deletions