Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions drivers/usb/dwc3/dwc3-apple.c
Original file line number Diff line number Diff line change
Expand Up @@ -926,10 +926,11 @@ static int dwc3_apple_probe(struct platform_device *pdev)
/*
* Until the first cable there is no core to keep powered: let the controller
* runtime-suspend, and its DARTs with it, so that its power domain can drop.
* Tested on T8132 only.
* Tested on T8132; on the T6041 (M4 Max) the never-plugged ports are the usual case.
*/
if (appledwc->idle_rpm && !appledwc->fixed_hub &&
of_device_is_compatible(dev->of_node, "apple,t8132-dwc3")) {
(of_device_is_compatible(dev->of_node, "apple,t8132-dwc3") ||
of_machine_is_compatible("apple,t6041"))) {
pm_runtime_set_active(dev);
pm_runtime_enable(dev);
appledwc->pre_core_rpm = true;
Expand Down