Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 83d7cf07 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: jpeg: Support jpeg qos settings."

parents 60de7358 43094d66
Loading
Loading
Loading
Loading
+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
@@ -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: