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: Mohit Aggarwal <maggarwa@codeaurora.org>
This commit is contained in:
Mohit Aggarwal 2015-01-13 11:28:26 +05:30 committed by Gerrit - the friendly Code Review server
parent 67c0ac5fa8
commit 4fdd93530e
2 changed files with 5 additions and 2 deletions

View file

@ -1,4 +1,4 @@
/* 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())

View file

@ -1,4 +1,4 @@
/* 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)