Loading drivers/media/platform/msm/camera_v2/jpeg_10/msm_jpeg_platform.c +10 −1 Original line number Original line Diff line number Diff line /* Copyright (c) 2012-2016, 2018, The Linux Foundation. All rights reserved. /* Copyright (c) 2012-2016, 2018-2019, The Linux Foundation. All rights reserved. * * * This program is free software; you can redistribute it and/or modify * 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 * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -320,6 +320,15 @@ int msm_jpeg_platform_init(irqreturn_t (*handler)(int, void *), pgmn_dev->hw_version); pgmn_dev->hw_version); pgmn_dev->state = MSM_JPEG_INIT; pgmn_dev->state = MSM_JPEG_INIT; rc = msm_jpeg_set_init_dt_parms(pgmn_dev, "qcom,vbif-qos-setting", pgmn_dev->vbif_base); if (rc == -ENOENT) JPEG_DBG("%s: No qcom,vbif-qos-setting property\n", __func__); else if (rc < 0) { JPEG_PR_ERR("%s: vbif qos params set fail\n", __func__); goto err_reg_enable; } return 0; return 0; err_reg_irq_fail: err_reg_irq_fail: err_fail_set_vbif: err_fail_set_vbif: Loading Loading
drivers/media/platform/msm/camera_v2/jpeg_10/msm_jpeg_platform.c +10 −1 Original line number Original line Diff line number Diff line /* Copyright (c) 2012-2016, 2018, The Linux Foundation. All rights reserved. /* Copyright (c) 2012-2016, 2018-2019, The Linux Foundation. All rights reserved. * * * This program is free software; you can redistribute it and/or modify * 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 * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -320,6 +320,15 @@ int msm_jpeg_platform_init(irqreturn_t (*handler)(int, void *), pgmn_dev->hw_version); pgmn_dev->hw_version); pgmn_dev->state = MSM_JPEG_INIT; pgmn_dev->state = MSM_JPEG_INIT; rc = msm_jpeg_set_init_dt_parms(pgmn_dev, "qcom,vbif-qos-setting", pgmn_dev->vbif_base); if (rc == -ENOENT) JPEG_DBG("%s: No qcom,vbif-qos-setting property\n", __func__); else if (rc < 0) { JPEG_PR_ERR("%s: vbif qos params set fail\n", __func__); goto err_reg_enable; } return 0; return 0; err_reg_irq_fail: err_reg_irq_fail: err_fail_set_vbif: err_fail_set_vbif: Loading