On 13-02-2019 12:34, Nagarjuna Kristam wrote: >>> EXPORT_SYMBOL_GPL(tegra_xusb_padctl_usb3_set_lfps_detect); >>> >>> +int tegra_xusb_padctl_set_vbus_override(struct tegra_xusb_padctl *padctl) >>> +{ >>> + if (padctl->soc->ops->vbus_override) >>> + return padctl->soc->ops->vbus_override(padctl, true); >>> + >>> + return -EINVAL; >> It'd be best to stick to the -ENOSYS error code here. >> > will do > Using ENOSYS is marked as checkpatch warning WARNING: ENOSYS means 'invalid syscall nr' and nothing else I suggest to use ENOTSUP instead of EINVAL/ENOSYS. -Nagarjuna >>> +void tegra_phy_xusb_utmi_pad_power_on(struct phy *phy) >>> +{ >>> + struct tegra_xusb_lane *lane = phy_get_drvdata(phy); >>> + struct tegra_xusb_padctl *padctl = lane->pad->padctl; >>> + >>> + if (padctl->soc->ops->utmi_pad_power_on) >>> + padctl->soc->ops->utmi_pad_power_on(phy);
- Re: [PATCH 3/8] dt-bindings: phy: tegra-xus... Thierry Reding
- Re: [PATCH 3/8] dt-bindings: phy: tegra... Thierry Reding
- Re: [PATCH 3/8] dt-bindings: phy: ... Nagarjuna Kristam
- Re: [PATCH 3/8] dt-bindings: p... Thierry Reding
- Re: [PATCH 3/8] dt-bindings: p... Nagarjuna Kristam
- Re: [PATCH 3/8] dt-bindings: p... jckuo
- [PATCH 1/8] phy: tegra: xusb: t210: add XUSB device mode... Nagarjuna Kristam
- Re: [PATCH 1/8] phy: tegra: xusb: t210: add XUSB de... Thierry Reding
- Re: [PATCH 1/8] phy: tegra: xusb: t210: add XUS... Nagarjuna Kristam
- Re: [PATCH 1/8] phy: tegra: xusb: t210: add... Thierry Reding
- Re: [PATCH 1/8] phy: tegra: xusb: t210: add... Nagarjuna Kristam
- Re: [PATCH 1/8] phy: tegra: xusb: t210:... Thierry Reding
- Re: [PATCH 1/8] phy: tegra: xusb: t210: add XUSB de... Nagarjuna Kristam
- Re: [PATCH 0/8] Tegra XUSB gadget driver support Thierry Reding
- Re: [PATCH 0/8] Tegra XUSB gadget driver support Nagarjuna Kristam