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

Commit a7068e39 authored by Stefan Wahren's avatar Stefan Wahren Committed by Mark Brown
Browse files

regulator: core: fix constraints output buffer



The buffer for condtraints debug isn't big enough to hold the output
in all cases. So fix this issue by increasing the buffer.

Signed-off-by: default avatarStefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Cc: <stable@vger.kernel.org>
parent c456b89a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -779,7 +779,7 @@ static int suspend_prepare(struct regulator_dev *rdev, suspend_state_t state)
static void print_constraints(struct regulator_dev *rdev)
{
	struct regulation_constraints *constraints = rdev->constraints;
	char buf[80] = "";
	char buf[160] = "";
	int count = 0;
	int ret;