usb: gadget: tegra-xudc: Use phy_set_mode() to set/unset device mode
authorNagarjuna Kristam <nkristam@nvidia.com>
Mon, 10 Feb 2020 08:11:37 +0000 (13:41 +0530)
committerThierry Reding <treding@nvidia.com>
Thu, 19 Mar 2020 13:18:57 +0000 (14:18 +0100)
commitb9c9fd4a36f27a1c7d202aed5449c0c700cff9f2
tree01c0c24a31c7015d7768fb236cd8e350e5165bcb
parentb77f2ffe7621cb3b70617243a3da1b0bc99cc316
usb: gadget: tegra-xudc: Use phy_set_mode() to set/unset device mode

When device mode is set/unset, VBUS override activity is done via
exported functions from padctl driver. Use phy_set_mode() instead.

Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
Acked-by: Felipe Balbi <balbi@kernel.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/usb/gadget/udc/tegra-xudc.c