summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-02-15 07:26:59 +0300
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-03-11 13:59:49 +0300
commit37b48094169a917ae2436bae4459db060a3b2e9d (patch)
tree9b6ab066a0eeb08fa9e7fc7fd590de368b936291 /include/linux
parent9206d3b48b6ab4b5c2dfc79734a2f97d7b70b963 (diff)
downloadlinux-37b48094169a917ae2436bae4459db060a3b2e9d.tar.xz
media: imx: imx7-media-csi: Tidy up register fields macros
Describe multi-bit fields with parameterized macros where applicable, and use them to replace manual shifts and hardcoded numerical values. Add macros for the CSICR2 fields used in the driver. While at it, align the indentation for all macros, and use lower-case hex numbers. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Rui Miguel Silva <rmfrfs@gmail.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions