summaryrefslogtreecommitdiff
path: root/arch/arm/mach-exynos/power.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2018-12-10 10:37:40 -0700
committerSimon Glass <sjg@chromium.org>2018-12-13 16:36:30 -0700
commitcf9007ce88f412494d3b5438148d580c83f96685 (patch)
treeb1b146e3c0b5f1164c1bf33843f03a17c56b8a07 /arch/arm/mach-exynos/power.c
parentd6cadd591879ba9d2d8a4375bb65f5032b5fb987 (diff)
exynos: Add proid_is_exynos542x() for common 542x
Add a convenience function for any Exynos 542x chip. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/mach-exynos/power.c')
-rw-r--r--arch/arm/mach-exynos/power.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-exynos/power.c b/arch/arm/mach-exynos/power.c
index 63c410acef..f2a6c00dd6 100644
--- a/arch/arm/mach-exynos/power.c
+++ b/arch/arm/mach-exynos/power.c
@@ -124,7 +124,7 @@ static void exynos5420_set_usbdev_phy_ctrl(unsigned int enable)
void set_usbdrd_phy_ctrl(unsigned int enable)
{
if (cpu_is_exynos5()) {
- if (proid_is_exynos5420() || proid_is_exynos5422())
+ if (proid_is_exynos542x())
exynos5420_set_usbdev_phy_ctrl(enable);
else
exynos5_set_usbdrd_phy_ctrl(enable);