OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 227... | Line 227... | |||
227 | return ret; |
227 | return ret; |
|
228 | + } |
228 | + } |
|
Line 229... | Line 229... | |||
229 | |
229 | |
|
230 | mtk->num_phys = of_count_phandle_with_args(node, |
230 | mtk->num_phys = of_count_phandle_with_args(node, |
|
231 | "phys", "#phy-cells"); |
231 | "phys", "#phy-cells"); |
|
232 | @@ -782,7 +725,7 @@ static int __maybe_unused xhci_mtk_suspe |
232 | @@ -780,7 +723,7 @@ static int __maybe_unused xhci_mtk_suspe |
|
233 | xhci_mtk_host_disable(mtk); |
233 | xhci_mtk_host_disable(mtk); |
|
234 | xhci_mtk_phy_power_off(mtk); |
234 | xhci_mtk_phy_power_off(mtk); |
|
235 | xhci_mtk_clks_disable(mtk); |
235 | xhci_mtk_clks_disable(mtk); |
|
236 | - usb_wakeup_enable(mtk); |
236 | - usb_wakeup_enable(mtk); |
|
237 | + usb_wakeup_set(mtk, true); |
237 | + usb_wakeup_set(mtk, true); |
|
238 | return 0; |
238 | return 0; |
|
Line 239... | Line 239... | |||
239 | } |
239 | } |
|
240 | |
240 | |
|
241 | @@ -792,7 +735,7 @@ static int __maybe_unused xhci_mtk_resum |
241 | @@ -790,7 +733,7 @@ static int __maybe_unused xhci_mtk_resum |
|
Line 242... | Line 242... | |||
242 | struct usb_hcd *hcd = mtk->hcd; |
242 | struct usb_hcd *hcd = mtk->hcd; |
|
243 | struct xhci_hcd *xhci = hcd_to_xhci(hcd); |
243 | struct xhci_hcd *xhci = hcd_to_xhci(hcd); |