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

Commit 99873dae authored by Camera Software Integration's avatar Camera Software Integration Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: camera: isp: variable should be accessed only if match is found"...

Merge "msm: camera: isp: variable should be accessed only if match is found" into camera-kernel.lnx.1.0
parents 52f8bf8f 0fcdbe2e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved.
 * Copyright (c) 2017-2020, The Linux Foundation. All rights reserved.
 */

#include <linux/slab.h>
@@ -515,8 +515,8 @@ int cam_irq_controller_unsubscribe_irq(void *irq_controller,
		}
	}

	priority = evt_handler->priority;
	if (found) {
		priority = evt_handler->priority;
		for (i = 0; i < controller->num_registers; i++) {
			irq_register = &controller->irq_register_arr[i];
			irq_register->top_half_enable_mask[priority] &=