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

Commit e5541fef authored by Stepan Moskovchenko's avatar Stepan Moskovchenko
Browse files

soc: qcom: smd: Fix error message formatting



Fix the newlines in the modem crash handler to avoid
extraneous line breaks in the kernel log.

Change-Id: Ib094882c045b4e3d95173bdfebc9d8e732e40772
Signed-off-by: default avatarStepan Moskovchenko <stepanm@codeaurora.org>
parent b6d89b7b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
/* drivers/soc/qcom/smd.c
 *
 * Copyright (C) 2007 Google, Inc.
 * Copyright (c) 2008-2014, The Linux Foundation. All rights reserved.
 * Copyright (c) 2008-2015, The Linux Foundation. All rights reserved.
 * Author: Brian Swetland <swetland@google.com>
 *
 * This software is licensed under the terms of the GNU General Public
@@ -2595,7 +2595,7 @@ static irqreturn_t smsm_irq_handler(int irq, void *data)

		SMSM_DBG("<SM %08x %08x>\n", apps, modm);
		if (modm & SMSM_RESET) {
			pr_err("\nSMSM: Modem SMSM state changed to SMSM_RESET.");
			pr_err("SMSM: Modem SMSM state changed to SMSM_RESET.\n");
		} else if (modm & SMSM_INIT) {
			if (!(apps & SMSM_INIT))
				apps |= SMSM_INIT;