diff options
author | Sakari Ailus <sakari.ailus@linux.intel.com> | 2014-02-12 08:33:51 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-04-23 10:12:33 -0400 |
commit | caf447bf743476ff184ccc9024959f308b148072 (patch) | |
tree | 52416213c033913c83f807dd12e42fad630bf82e /drivers/media/i2c/smiapp/smiapp-quirk.h | |
parent | 3c9e7ea37709572755d3aea2ebdd453b187741ab (diff) |
[media] smiapp: Make PLL flags separate from regular quirk flags
It doesn't make sense to just copy the information to the PLL flags. Add a
new fields for the quirks to contain the PLL flags.
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/i2c/smiapp/smiapp-quirk.h')
-rw-r--r-- | drivers/media/i2c/smiapp/smiapp-quirk.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/media/i2c/smiapp/smiapp-quirk.h b/drivers/media/i2c/smiapp/smiapp-quirk.h index 96a253e0f913..ea8231c60c21 100644 --- a/drivers/media/i2c/smiapp/smiapp-quirk.h +++ b/drivers/media/i2c/smiapp/smiapp-quirk.h | |||
@@ -42,11 +42,10 @@ struct smiapp_quirk { | |||
42 | int (*pre_streamon)(struct smiapp_sensor *sensor); | 42 | int (*pre_streamon)(struct smiapp_sensor *sensor); |
43 | int (*post_streamoff)(struct smiapp_sensor *sensor); | 43 | int (*post_streamoff)(struct smiapp_sensor *sensor); |
44 | unsigned long flags; | 44 | unsigned long flags; |
45 | unsigned long pll_flags; | ||
45 | }; | 46 | }; |
46 | 47 | ||
47 | /* op pix clock is for all lanes in total normally */ | 48 | #define SMIAPP_QUIRK_FLAG_8BIT_READ_ONLY (1 << 0) |
48 | #define SMIAPP_QUIRK_FLAG_OP_PIX_CLOCK_PER_LANE (1 << 0) | ||
49 | #define SMIAPP_QUIRK_FLAG_8BIT_READ_ONLY (1 << 1) | ||
50 | 49 | ||
51 | struct smiapp_reg_8 { | 50 | struct smiapp_reg_8 { |
52 | u16 reg; | 51 | u16 reg; |