Commit 96b4ea324ae92386db2b0c73ace597c80cde1ecb
Committed by
Greg Kroah-Hartman
1 parent
4bf2dd6513
phy: allwinner: Fix GENMASK misuse
Arguments are supposed to be ordered high then low. Fixes: a228890f9458 ("phy: allwinner: add phy driver for USB3 PHY on Allwinner H6 SoC") Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com> Tested-by: Ondrej Jirman <megous@megous.com> Signed-off-by: Ondrej Jirman <megous@megous.com> Acked-by: Maxime Ripard <mripard@kernel.org> Acked-by: Chen-Yu Tsai <wens@csie.org> Cc: stable <stable@vger.kernel.org> Link: https://lore.kernel.org/r/20191110124355.1569-1-rikard.falkeborn@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
drivers/phy/allwinner/phy-sun50i-usb3.c
... | ... | @@ -49,7 +49,7 @@ |
49 | 49 | #define SUNXI_LOS_BIAS(n) ((n) << 3) |
50 | 50 | #define SUNXI_LOS_BIAS_MASK GENMASK(5, 3) |
51 | 51 | #define SUNXI_TXVBOOSTLVL(n) ((n) << 0) |
52 | -#define SUNXI_TXVBOOSTLVL_MASK GENMASK(0, 2) | |
52 | +#define SUNXI_TXVBOOSTLVL_MASK GENMASK(2, 0) | |
53 | 53 | |
54 | 54 | struct sun50i_usb3_phy { |
55 | 55 | struct phy *phy; |