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

Commit dfd6e0b1 authored by Jeff Hugo's avatar Jeff Hugo
Browse files

soc: qcom: smd: Use IRQF_SHARED



SMD interrupts might need to be shared with other drivers.  Use IRQF_SHARED
to allow sharing of the interrupt.

Change-Id: I0a082647a0925a5749ec0e6ce5c17ded5f7a806a
Signed-off-by: default avatarJeffrey Hugo <jhugo@codeaurora.org>
parent cbc6bdfd
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
/* drivers/soc/qcom/smd_init_dt.c
 *
 * Copyright (c) 2013-2014, The Linux Foundation. All rights reserved.
 * Copyright (c) 2013-2015, The Linux Foundation. All rights reserved.
 *
 * This software is licensed under the terms of the GNU General Public
 * License version 2, as published by the Free Software Foundation, and
@@ -261,9 +261,9 @@ static int msm_smd_probe(struct platform_device *pdev)

	ret = request_irq(irq_line,
			private_irq->irq_handler,
				IRQF_TRIGGER_RISING | IRQF_NO_SUSPEND,
			IRQF_TRIGGER_RISING | IRQF_NO_SUSPEND | IRQF_SHARED,
			node->name,
				NULL);
			&pdev->dev);
	if (ret < 0) {
		pr_err("%s: request_irq() failed on %d\n", __func__, irq_line);
		return ret;