From: Bin Yang Date: Thu, 22 Mar 2012 07:49:41 +0000 (+0800) Subject: remove SPI1 runtime PM workaround X-Git-Tag: 2.1b_release~1189 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=db6e51b0c7cbb2aa5491ce74b0a7eaf3b7f03edd;p=kernel%2Fkernel-mfld-blackbay.git remove SPI1 runtime PM workaround BZ: 25894 Runtime PM issues of SPI1 had been fixed already. Remove this workaround. Change-Id: Ib0dc7b47f39dddc98b9806e015df0514e31ea5a4 Signed-off-by: Bin Yang Reviewed-on: http://android.intel.com:8080/39367 Reviewed-by: Du, Alek Tested-by: Wang, Zhifeng Reviewed-by: Mansoor, Illyas Reviewed-by: buildbot Tested-by: buildbot --- diff --git a/arch/x86/platform/intel-mid/mfld-pmu.c b/arch/x86/platform/intel-mid/mfld-pmu.c index bab0ca8..3c29aac 100644 --- a/arch/x86/platform/intel-mid/mfld-pmu.c +++ b/arch/x86/platform/intel-mid/mfld-pmu.c @@ -1732,12 +1732,12 @@ EXPORT_SYMBOL(pmu_set_lss01_to_d0i0_atomic); */ static inline bool device_causing_hang(struct pci_dev *pdev) { - /* 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 == SPI1_DEVICE_ID) || - (pdev->device == UART0_DEVICE_ID) || + return ((pdev) && (pdev->device) && + ((pdev->device == UART0_DEVICE_ID) || (pdev->device == UART1_DEVICE_ID) || (pdev->device == UART2_DEVICE_ID))); }