forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-16 50a212ec906f7524620675f0c57357691c26c81f
kernel/drivers/usb/musb/musb_gadget.c
....@@ -1628,8 +1628,6 @@
16281628 {
16291629 struct musb *musb = gadget_to_musb(gadget);
16301630
1631
- if (!musb->xceiv->set_power)
1632
- return -EOPNOTSUPP;
16331631 return usb_phy_set_power(musb->xceiv, mA);
16341632 }
16351633