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

Commit 8bf59ba2 authored by Can Guo's avatar Can Guo
Browse files

scsi: ufs: fix /proc/interrupts shows same action name



If there are multiple instances of UFS host controller,
cat /proc/interrupts would show two interrupts with
the same action name. Fix it by requesting irq with
host device name.

Change-Id: Id92ff89ef092d88715040a2bfb65ec7f870580a1
Signed-off-by: default avatarCan Guo <cang@codeaurora.org>
parent 823e0419
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -10054,7 +10054,8 @@ int ufshcd_init(struct ufs_hba *hba, void __iomem *mmio_base, unsigned int irq)
	mb();

	/* IRQ registration */
	err = devm_request_irq(dev, irq, ufshcd_intr, IRQF_SHARED, UFSHCD, hba);
	err = devm_request_irq(dev, irq, ufshcd_intr, IRQF_SHARED,
				dev_name(dev), hba);
	if (err) {
		dev_err(hba->dev, "request irq failed\n");
		goto exit_gating;