Skip to content
Merged
Changes from 1 commit
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: 4 additions & 1 deletion drivers/input/apple_mtp_kbd.c
Original file line number Diff line number Diff line change
Expand Up @@ -460,11 +460,14 @@ static int apple_mtp_kbd_probe(struct udevice *dev)
/*
* An MTP handed to the OS halted (J604, J715) and the J813 MTP cannot
* be restarted after U-Boot shuts them down, and Linux wakes the T6050
* MTP from the state iBoot left it in. J713 retains its running helper
* MTP from the state iBoot left it in. T6020 (M2 Pro) on the 27.2 stub
* hits the same restart crash (PC=0x10359b4) if U-Boot starts and stops
* the helper, so leave it to the OS. J713 retains its running helper
* and replays discovery packets to Linux at OS handoff.
*/
if (apple_mtp_halted_for_os() ||
of_machine_is_compatible("apple,j813") ||
of_machine_is_compatible("apple,t6020") ||
of_machine_is_compatible("apple,t6050"))
return -ENODEV;
priv->j713 = of_machine_is_compatible("apple,j713") ||
Expand Down