mfld-pmu: remove USB from hang device list of RTPM
authorWu, Hao <hao.wu@intel.com>
Fri, 16 Mar 2012 12:33:46 +0000 (20:33 +0800)
committerbuildbot <buildbot@intel.com>
Tue, 20 Mar 2012 19:45:50 +0000 (12:45 -0700)
BZ: 24239

Remove USB from the hang device list of RTPM.

Change-Id: If25f1d1797d95adb2672aff27bba2ae4bc1850d7
Signed-off-by: Wu, Hao <hao.wu@intel.com>
Reviewed-on: http://android.intel.com:8080/39414
Reviewed-by: Zhuang, Jin Can <jin.can.zhuang@intel.com>
Reviewed-by: Singh, Youvedeep <youvedeep.singh@intel.com>
Reviewed-by: Tang, Richard <richard.tang@intel.com>
Reviewed-by: Meng, Zhe <zhe.meng@intel.com>
Tested-by: Meng, Zhe <zhe.meng@intel.com>
Reviewed-by: Monroy, German <german.monroy@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
arch/x86/platform/intel-mid/mfld-pmu.c

index 8e9d5eb..bab0ca8 100644 (file)
@@ -1732,12 +1732,11 @@ EXPORT_SYMBOL(pmu_set_lss01_to_d0i0_atomic);
 */
 static inline bool device_causing_hang(struct pci_dev *pdev)
 {
-       /* USB, SPI  - causing platform Hang on enabling RTPM
+       /* SPI  - causing platform Hang on enabling RTPM
         * lss 41  -  causing Hang in platform when Bluetooth
         * is turned ON/OFF (UART0/1/2 are under lss41).
        */
-       return ((pdev) && (pdev->device) && ((pdev->device == USB_DEVICE_ID) ||
-                       (pdev->device == SPI1_DEVICE_ID) ||
+       return ((pdev) && (pdev->device) && ((pdev->device == SPI1_DEVICE_ID) ||
                        (pdev->device == UART0_DEVICE_ID) ||
                        (pdev->device == UART1_DEVICE_ID) ||
                        (pdev->device == UART2_DEVICE_ID)));