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

Commit ea68740e authored by Lucille Sylvester's avatar Lucille Sylvester Committed by Matt Wagantall
Browse files

msm: kgsl: Show the SP/TP bit in sysfs as expected



The SP/TP sysfs node is showing the PPD state bit.  Fix it to
show the SP/TP state bit instead.

Change-Id: Idba8201a982dab3c9b5590b1ffe109f7a470b5ab
Signed-off-by: default avatarLucille Sylvester <lsylvest@codeaurora.org>
parent fb47b8ce
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -163,7 +163,7 @@ static int _sptp_pc_store(struct adreno_device *adreno_dev,

static unsigned int _sptp_pc_show(struct adreno_device *adreno_dev)
{
	return test_bit(ADRENO_PPD_CTRL, &adreno_dev->pwrctrl_flag);
	return test_bit(ADRENO_SPTP_PC_CTRL, &adreno_dev->pwrctrl_flag);
}

static ssize_t _sysfs_store_u32(struct device *dev,