media: rkisp1: uapi: change hist_bins array type from __u16 to __u32
authorDafna Hirschfeld <dafna.hirschfeld@collabora.com>
Thu, 21 Jan 2021 14:44:02 +0000 (15:44 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 28 Jan 2021 10:29:23 +0000 (11:29 +0100)
commit31f190e0ccac8b75d33fdc95a797c526cf9b149e
tree380a0466986d08dee60cc99e0a5073b9d5daf187
parente081863ab48d9b2eee9e899cbd05752a2a30308d
media: rkisp1: uapi: change hist_bins array type from __u16 to __u32

Each entry in the array is a 20 bits value composed of 16 bits unsigned
integer and 4 bits fractional part. So the type should change to __u32.
In addition add a documentation of how the measurements are done.

Signed-off-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com>
Acked-by: Helen Koike <helen.koike@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
include/uapi/linux/rkisp1-config.h