diff options
author | Jean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com> | 2022-02-24 16:11:13 +0100 |
---|---|---|
committer | Umang Jain <umang.jain@ideasonboard.com> | 2022-03-11 20:47:51 +0530 |
commit | e41854a4e6fde2dd9e2a2a7290670943235776cd (patch) | |
tree | 5a9c00e19082351427306d1c69bf89cd43094052 /include/linux/drm_fourcc.h | |
parent | b5d2adbeabeacdba6e887de2aef39aa320f4abe1 (diff) |
ipa: ipu3: awb: Clamp gain values
The gain values are coded as u3.13 fixed point values, ie they can not
be more than 8. Clamp the values in order to avoid any off limits value
which could make the IPU3 behave in a weird manner.
Signed-off-by: Jean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Umang Jain <umang.jain@ideasonboard.com>
Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Diffstat (limited to 'include/linux/drm_fourcc.h')
0 files changed, 0 insertions, 0 deletions