aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/i2c/smiapp/smiapp-quirk.h
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@linux.intel.com>2014-04-08 17:18:10 -0400
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-04-23 10:30:32 -0400
commit03efb2a067beaea0496bd6e411452ca90dab9d01 (patch)
tree49fcb2f6abf222f919508b2678917ebf1a4628a8 /drivers/media/i2c/smiapp/smiapp-quirk.h
parent19e9f5f5391b41b684ddbd3066cd87509fdc2fd3 (diff)
[media] smiapp: Make PLL (quirk) flags a function
This is more flexible. Quirk flags may be affected by configuration. 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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/i2c/smiapp/smiapp-quirk.h b/drivers/media/i2c/smiapp/smiapp-quirk.h
index ea8231c60c21..dddb62beeb29 100644
--- a/drivers/media/i2c/smiapp/smiapp-quirk.h
+++ b/drivers/media/i2c/smiapp/smiapp-quirk.h
@@ -41,8 +41,8 @@ struct smiapp_quirk {
41 int (*post_poweron)(struct smiapp_sensor *sensor); 41 int (*post_poweron)(struct smiapp_sensor *sensor);
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 (*pll_flags)(struct smiapp_sensor *sensor);
44 unsigned long flags; 45 unsigned long flags;
45 unsigned long pll_flags;
46}; 46};
47 47
48#define SMIAPP_QUIRK_FLAG_8BIT_READ_ONLY (1 << 0) 48#define SMIAPP_QUIRK_FLAG_8BIT_READ_ONLY (1 << 0)