media: ccs-pll: Move the flags field down, away from 8-bit fields

This way the struct will use less memory, with better packing and no waste
due to unsigned long.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
Sakari Ailus 2020-06-23 15:07:24 +02:00 committed by Mauro Carvalho Chehab
parent 47b6eaf36e
commit d6a88e446c

View file

@ -40,12 +40,12 @@ struct ccs_pll {
struct {
uint8_t lanes;
} csi2;
unsigned long flags;
uint8_t binning_horizontal;
uint8_t binning_vertical;
uint8_t scale_m;
uint8_t scale_n;
uint8_t bits_per_pixel;
uint16_t flags;
uint32_t link_freq;
uint32_t ext_clk_freq_hz;