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

Commit 1fc185ff authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: camera: isp: Add check for rdi only usecases"

parents 42ee61f7 32f72fcb
Loading
Loading
Loading
Loading
+13 −11
Original line number Diff line number Diff line
/* Copyright (c) 2018, The Linux Foundation. All rights reserved.
/* Copyright (c) 2018-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
@@ -2634,6 +2634,7 @@ static int cam_ife_csid_sof_irq_debug(
	if (*((uint32_t *)cmd_args) == 1)
		sof_irq_enable = true;

	if (csid_reg->ipp_reg) {
		val = cam_io_r_mb(soc_info->reg_map[0].mem_base +
				csid_reg->ipp_reg->csid_ipp_irq_mask_addr);

@@ -2647,6 +2648,7 @@ static int cam_ife_csid_sof_irq_debug(
				csid_reg->ipp_reg->csid_ipp_irq_mask_addr);
			val = 0;
		}
	}

	for (i = 0; i < csid_reg->cmn_reg->no_rdis; i++) {
		val = cam_io_r_mb(soc_info->reg_map[0].mem_base +