[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
@@ -220,12 +220,17 @@ static int jt8ev1_post_streamoff(struct smiapp_sensor *sensor)
|
||||
return smiapp_write_8(sensor, 0x3328, 0x80);
|
||||
}
|
||||
|
||||
static unsigned long jt8ev1_pll_flags(struct smiapp_sensor *sensor)
|
||||
{
|
||||
return SMIAPP_PLL_FLAG_OP_PIX_CLOCK_PER_LANE;
|
||||
}
|
||||
|
||||
const struct smiapp_quirk smiapp_jt8ev1_quirk = {
|
||||
.limits = jt8ev1_limits,
|
||||
.post_poweron = jt8ev1_post_poweron,
|
||||
.pre_streamon = jt8ev1_pre_streamon,
|
||||
.post_streamoff = jt8ev1_post_streamoff,
|
||||
.pll_flags = SMIAPP_PLL_FLAG_OP_PIX_CLOCK_PER_LANE,
|
||||
.pll_flags = jt8ev1_pll_flags,
|
||||
};
|
||||
|
||||
static int tcm8500md_limits(struct smiapp_sensor *sensor)
|
||||
|
Reference in New Issue
Block a user