diff options
author | Richard Zhu <r65037@freescale.com> | 2014-05-21 02:11:05 -0400 |
---|---|---|
committer | Richard Zhu <r65037@freescale.com> | 2014-05-26 01:18:35 -0400 |
commit | c8b5258bf7cead5aa054bc87e5847bea8b136087 (patch) | |
tree | 1ad3b2bdf3fec7363317f0403202aaa649c18795 | |
parent | a187b916d55052fed10de1797009250095b598fb (diff) |
ENGR00314571 pcie: resolve one compile warning on pcie pm
resolve one compile warning on pcie pm
Signed-off-by: Richard Zhu <r65037@freescale.com>
-rw-r--r-- | arch/arm/mach-imx/pm-imx6.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/pm-imx6.c b/arch/arm/mach-imx/pm-imx6.c index 91c7ec39dc49..674a1537fae4 100644 --- a/arch/arm/mach-imx/pm-imx6.c +++ b/arch/arm/mach-imx/pm-imx6.c | |||
@@ -339,6 +339,11 @@ static int imx6_pm_enter(suspend_state_t state) | |||
339 | * "PCIe PCIe does not support L2 Power Down" | 339 | * "PCIe PCIe does not support L2 Power Down" |
340 | */ | 340 | */ |
341 | if (IS_ENABLED(CONFIG_PCI_IMX6) && !cpu_is_imx6sx()) { | 341 | if (IS_ENABLED(CONFIG_PCI_IMX6) && !cpu_is_imx6sx()) { |
342 | g = syscon_regmap_lookup_by_compatible("fsl,imx6q-iomuxc-gpr"); | ||
343 | if (IS_ERR(g)) { | ||
344 | pr_err("failed to find fsl,imx6q-iomux-gpr regmap\n"); | ||
345 | return PTR_ERR(g); | ||
346 | } | ||
342 | regmap_update_bits(g, IOMUXC_GPR1, IMX6Q_GPR1_PCIE_TEST_PD, | 347 | regmap_update_bits(g, IOMUXC_GPR1, IMX6Q_GPR1_PCIE_TEST_PD, |
343 | !IMX6Q_GPR1_PCIE_TEST_PD); | 348 | !IMX6Q_GPR1_PCIE_TEST_PD); |
344 | } | 349 | } |