[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>
This commit is contained in:

committed by
Mauro Carvalho Chehab

parent
19e9f5f539
commit
03efb2a067
@@ -41,8 +41,8 @@ struct smiapp_quirk {
|
||||
int (*post_poweron)(struct smiapp_sensor *sensor);
|
||||
int (*pre_streamon)(struct smiapp_sensor *sensor);
|
||||
int (*post_streamoff)(struct smiapp_sensor *sensor);
|
||||
unsigned long (*pll_flags)(struct smiapp_sensor *sensor);
|
||||
unsigned long flags;
|
||||
unsigned long pll_flags;
|
||||
};
|
||||
|
||||
#define SMIAPP_QUIRK_FLAG_8BIT_READ_ONLY (1 << 0)
|
||||
|
Reference in New Issue
Block a user