|
@@ -2617,12 +2617,11 @@ static int smiapp_registered(struct v4l2_subdev *subdev)
|
|
|
pll->bus_type = SMIAPP_PLL_BUS_TYPE_CSI2;
|
|
|
pll->csi2.lanes = sensor->platform_data->lanes;
|
|
|
pll->ext_clk_freq_hz = sensor->platform_data->ext_clk;
|
|
|
+ if (sensor->minfo.quirk)
|
|
|
+ pll->flags = sensor->minfo.quirk->pll_flags;
|
|
|
/* Profile 0 sensors have no separate OP clock branch. */
|
|
|
if (sensor->minfo.smiapp_profile == SMIAPP_PROFILE_0)
|
|
|
pll->flags |= SMIAPP_PLL_FLAG_NO_OP_CLOCKS;
|
|
|
- if (smiapp_needs_quirk(sensor,
|
|
|
- SMIAPP_QUIRK_FLAG_OP_PIX_CLOCK_PER_LANE))
|
|
|
- pll->flags |= SMIAPP_PLL_FLAG_OP_PIX_CLOCK_PER_LANE;
|
|
|
pll->scale_n = sensor->limits[SMIAPP_LIMIT_SCALER_N_MIN];
|
|
|
|
|
|
rval = smiapp_update_mode(sensor);
|