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

Commit a326beb0 authored by Swetha Chikkaboraiah's avatar Swetha Chikkaboraiah Committed by Gerrit - the friendly Code Review server
Browse files

power: fix compiler issue due to improper braces or indentation



This fix for below warning
warning: misleading indentation; statement is not part of the
previous 'if'.

Change-Id: I0676bf1d23b9f6bfd8e37ca3fd7e9532a8d8747d
Signed-off-by: default avatarSwetha Chikkaboraiah <schikk@codeaurora.org>
parent 0e71976f
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
/* Copyright (c) 2013-2015, 2018-2019, The Linux Foundation. All rights reserved.
/* Copyright (c) 2013-2015, 2018-2020, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -1407,12 +1407,13 @@ static int smb1360_set_minimum_usb_current(struct smb1360_chip *chip)
		if (rc)
			pr_err("Couldn't set ICL mA rc=%d\n", rc);

		if (!(chip->workaround_flags & WRKRND_USB100_FAIL))
		if (!(chip->workaround_flags & WRKRND_USB100_FAIL)) {
			rc = smb1360_masked_write(chip, CMD_IL_REG,
					USB_CTRL_MASK, USB_100_BIT);
			if (rc)
				pr_err("Couldn't configure for USB100 rc=%d\n",
									rc);
		}
	} else {
		pr_debug("USB min current set to 500mA\n");
		rc = smb1360_masked_write(chip, CMD_IL_REG,