Skip to content

Commit 32b2495

Browse files
andredvinodkoul
authored andcommitted
phy: exynos5-usbdrd: fix definition of EXYNOS5_FSEL_26MHZ
Using 0x82 seems odd, where everything else is just a sequence. On E850, this macro isn't used (as a register value), only to assign its value to the 'extrefclk' variable, which is otherwise unused on that platform. Older platforms don't appear to support 26MHz in the first place (since this macro was added for E850). Furthermore, the downstream driver uses 0x82 to denote USBPHY_REFCLK_DIFF_26MHZ (whatever that means exactly), but for all the other values we match downstream's non-DIFF macros. Update to avoid confusion. No functional change intended. Signed-off-by: André Draszik <[email protected]> Reviewed-by: Peter Griffin <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent f2b6fc4 commit 32b2495

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/phy/samsung/phy-exynos5-usbdrd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
#define EXYNOS5_FSEL_19MHZ2 0x3
3131
#define EXYNOS5_FSEL_20MHZ 0x4
3232
#define EXYNOS5_FSEL_24MHZ 0x5
33-
#define EXYNOS5_FSEL_26MHZ 0x82
33+
#define EXYNOS5_FSEL_26MHZ 0x6
3434
#define EXYNOS5_FSEL_50MHZ 0x7
3535

3636
/* Exynos5: USB 3.0 DRD PHY registers */

0 commit comments

Comments
 (0)