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

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

Merge "platform: qpnp-power-on: Add boot mode module parameter"

parents f49f9a7c 5cc77f7d
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -173,6 +173,14 @@ static const char * const qpnp_poff_reason[] = {
	[15] = "Triggered from STAGE3 (Stage 3 reset)",
};

/*
 * On the kernel command line specify
 * qpnp-power-on.warm_boot=1 to indicate a warm
 * boot of the device.
 */
static int warm_boot;
module_param(warm_boot, int, 0);

static int
qpnp_pon_masked_write(struct qpnp_pon *pon, u16 addr, u8 mask, u8 val)
{