phy: usb: suppress OC condition for 7439b2
authorJustin Chen <justin.chen@broadcom.com>
Thu, 15 Jun 2023 20:06:17 +0000 (13:06 -0700)
committerVinod Koul <vkoul@kernel.org>
Wed, 21 Jun 2023 12:13:27 +0000 (17:43 +0530)
commit4536fe9640b6a4ef07b1ec77c5dd7bbc62dc0d3d
tree8d57e1b496cc2fe3be2a16be8a834b25c191a0ce
parent5095d045a96235687199015ca94a03c00d68234f
phy: usb: suppress OC condition for 7439b2

We hit a false positive OC for 7439b2 in DRD/device mode for the
second port. So disable the OC check for this use case. Add capability
to suppress OC condition for specific ports.

Signed-off-by: Justin Chen <justin.chen@broadcom.com>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Link: https://lore.kernel.org/r/1686859578-45242-3-git-send-email-justin.chen@broadcom.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/broadcom/phy-brcm-usb-init.c