Loading drivers/media/platform/msm/camera_v2/sensor/io/msm_camera_dt_util.c +6 −5 Original line number Diff line number Diff line /* Copyright (c) 2013-2018, The Linux Foundation. All rights reserved. /* Copyright (c) 2013-2019 The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -1460,8 +1460,9 @@ int msm_camera_power_up(struct msm_camera_power_ctrl_t *ctrl, switch (power_setting->seq_type) { case SENSOR_CLK: if (power_setting->seq_val >= ctrl->clk_info_size) { pr_err_ratelimited("%s clk index %d >= max %zu\n", __func__, power_setting->seq_val, pr_err_ratelimited("%s clk %d >=max %zu\n" , __func__, power_setting->seq_val, ctrl->clk_info_size); goto power_up_failed; } Loading Loading
drivers/media/platform/msm/camera_v2/sensor/io/msm_camera_dt_util.c +6 −5 Original line number Diff line number Diff line /* Copyright (c) 2013-2018, The Linux Foundation. All rights reserved. /* Copyright (c) 2013-2019 The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -1460,8 +1460,9 @@ int msm_camera_power_up(struct msm_camera_power_ctrl_t *ctrl, switch (power_setting->seq_type) { case SENSOR_CLK: if (power_setting->seq_val >= ctrl->clk_info_size) { pr_err_ratelimited("%s clk index %d >= max %zu\n", __func__, power_setting->seq_val, pr_err_ratelimited("%s clk %d >=max %zu\n" , __func__, power_setting->seq_val, ctrl->clk_info_size); goto power_up_failed; } Loading