kernel/drivers/video/rockchip/vehicle/vehicle_generic_sensor.c
.. .. @@ -285,6 +285,12 @@ 285 285 if (of_property_read_u32(cp, "mclk_rate", &ad->mclk_rate)) 286 286 VEHICLE_DGERR("Get %s mclk_rate failed!\n", cp->name); 287 287 288 + if (of_property_read_u32(cp, "drop_frames",289 + &ad->drop_frames)) {290 + VEHICLE_DGERR("%s:Get sensor, drop-frames failed!\n", __func__);291 + ad->drop_frames = 0; //default drop frames;292 + }293 +288 294 if (of_property_read_u32(cp, "rst_active", &ad->rst_active)) 289 295 VEHICLE_DGERR("Get %s rst_active failed!", cp->name); 290 296