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

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

Merge "power: smb1360: Add fastchg interrupt handler"

parents bcd93bb6 8c669d10
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -1358,6 +1358,13 @@ static int chg_term_handler(struct smb1360_chip *chip, u8 rt_stat)
	return 0;
}

static int chg_fastchg_handler(struct smb1360_chip *chip, u8 rt_stat)
{
	pr_debug("rt_stat = 0x%02x\n", rt_stat);

	return 0;
}

static int usbin_uv_handler(struct smb1360_chip *chip, u8 rt_stat)
{
	bool usb_present = !rt_stat;
@@ -1516,6 +1523,7 @@ static struct irq_handler_info handlers[] = {
			},
			{
				.name		= "fast_chg",
				.smb_irq	= chg_fastchg_handler,
			},
		},
	},