]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
phy: sun4i-usb: Remove .disc_thresh where not applicable
authorSamuel Holland <samuel@sholland.org>
Thu, 3 Feb 2022 01:35:55 +0000 (19:35 -0600)
committerVinod Koul <vkoul@kernel.org>
Fri, 25 Feb 2022 08:23:21 +0000 (13:53 +0530)
.disc_thresh is not used when .type = sun50i_h6_phy, so providing a
value for it is misleading.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Link: https://lore.kernel.org/r/20220203013558.11490-2-samuel@sholland.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/allwinner/phy-sun4i-usb.c

index 788dd5cdbb7d3efc59932104742fda3becbc6799..624950fd48ba969277c3cecde2db4081c15db1e0 100644 (file)
@@ -962,7 +962,6 @@ static const struct sun4i_usb_phy_cfg sun50i_a64_cfg = {
 static const struct sun4i_usb_phy_cfg sun50i_h6_cfg = {
        .num_phys = 4,
        .type = sun50i_h6_phy,
-       .disc_thresh = 3,
        .phyctl_offset = REG_PHYCTL_A33,
        .dedicated_clocks = true,
        .phy0_dual_route = true,