diff options
| author | Laurent Pinchart <[email protected]> | 2022-02-26 18:09:58 +0000 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2022-06-27 08:04:08 +0100 |
| commit | 240e92eaee8ce314d075679f513da03d84aa8974 (patch) | |
| tree | cdfb3bf109bb9986622df582a6bf37bf25547ef1 /tools | |
| parent | 6ff02276beb93e305a463fb950f3501a60a887f8 (diff) | |
media: rkisp1: regs: Don't use BIT() macro for multi-bit register fields
The BIT() macro is meant to represent a single bit. It is incorrectly
used for register field values that store the value 1 in a multi-bit
field. Use the usual (1 << n) construct for those.
While at it, move RKISP1_CIF_MI_DMA_CTRL_READ_FMT_PACKED where it
belongs with the other READ_FMT values.
Signed-off-by: Laurent Pinchart <[email protected]>
Reviewed-by: Ricardo Ribalda <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions