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

Commit 4fdd9353 authored by Mohit Aggarwal's avatar Mohit Aggarwal Committed by Gerrit - the friendly Code Review server
Browse files

diag: Add support for MSM8929 QPST string



MSM8929 is a new device. Add diag support for sending
appropriate model number for MSM8929 so that QPST
can display the appropriate string.

Change-Id: I4e92f5a114b542083178fdb8d68f95990f741bee
Signed-off-by: default avatarMohit Aggarwal <maggarwa@codeaurora.org>
parent 67c0ac5f
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
/* Copyright (c) 2008-2014, The Linux Foundation. All rights reserved.
/* Copyright (c) 2008-2015, 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
@@ -119,6 +119,8 @@ int chk_config_get_id(void)
		return MSM8992_TOOLS_ID;
	case MSM_CPU_TELLURIUM:
		return MSMTELLURIUM_TOOLS_ID;
	case MSM_CPU_8929:
		return MSM8929_TOOLS_ID;
	default:
		if (driver->use_device_tree) {
			if (machine_is_msm8974())
+2 −1
Original line number Diff line number Diff line
/* Copyright (c) 2008-2014, The Linux Foundation. All rights reserved.
/* Copyright (c) 2008-2015, 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
@@ -83,6 +83,7 @@
#define MSM8909_TOOLS_ID	4108
#define MSM8992_TOOLS_ID	4111
#define MSMTELLURIUM_TOOLS_ID	4110
#define MSM8929_TOOLS_ID	4113

#define MSG_MASK_0			(0x00000001)
#define MSG_MASK_1			(0x00000002)