diff options
author | sgadagottu <sgadagottu@nvidia.com> | 2010-03-24 13:53:05 +0530 |
---|---|---|
committer | Gary King <gking@nvidia.com> | 2010-03-26 12:51:55 -0800 |
commit | 474b9025e42b454df1c381416a3d9ef8ee1a7754 (patch) | |
tree | 556b705e5ad4425574646e9481a47579dae958a3 /arch | |
parent | e942ce81fb8d18ecbbba3ebf8b6a98048e7cfe0b (diff) |
tegra : Using the correct check to find out E1108 board
Currenttly to check the board type E1108 in nvodm_query.c, function
NvOdmIsE1108Hynix() is used. That is EMC DFS specific, so it is
replaced with the generic check
"NvOdmPeripheralGetBoardInfo(BOARD_ID_WHISTLER_E1108, &BoardInfo)".
Bug 666427 : [whistler/android/power] - suspend power has increased
by 4mW
Tested on :Whistler E1108
Change-Id: I7c8cdb9da2891d3b8ade738509024a78f6f6d38b
Reviewed-on: http://git-master/r/943
Reviewed-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com>
Reviewed-by: Narendra Damahe <ndamahe@nvidia.com>
Reviewed-by: Gary King <gking@nvidia.com>
Tested-by: Gary King <gking@nvidia.com>
Diffstat (limited to 'arch')
-rwxr-xr-x | arch/arm/mach-tegra/odm_kit/query/whistler/nvodm_query.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-tegra/odm_kit/query/whistler/nvodm_query.c b/arch/arm/mach-tegra/odm_kit/query/whistler/nvodm_query.c index 8f59368875a6..0b21b7245009 100755 --- a/arch/arm/mach-tegra/odm_kit/query/whistler/nvodm_query.c +++ b/arch/arm/mach-tegra/odm_kit/query/whistler/nvodm_query.c @@ -1201,6 +1201,7 @@ const NvOdmUsbProperty* NvOdmQueryGetUsbProperty(NvOdmIoModule OdmIoModule, NvU32 Instance) { + static const NvOdmUsbProperty Usb1Property = { NvOdmUsbInterfaceType_Utmi, @@ -1283,13 +1284,12 @@ NvOdmQueryGetUsbProperty(NvOdmIoModule OdmIoModule, if (OdmIoModule == NvOdmIoModule_Usb && Instance == 2) { -#if NVODM_ENABLE_EMC_DVFS - if (NvOdmIsE1108Hynix()) + NvOdmBoardInfo BoardInfo; + if (NvOdmPeripheralGetBoardInfo(BOARD_ID_WHISTLER_E1108, &BoardInfo)) { return &(Usb3Property_E1108); } else -#endif { return &(Usb3Property); } |