Skip to content

Commit

Permalink
FIXME: mach-snapdragon: Don't do USB node fixup to OTG
Browse files Browse the repository at this point in the history
The breaks USB gadget mode on our phones and tablets.

Signed-off-by: Alexey Minnekhanov <alexeymin@postmarketos.org>
  • Loading branch information
minlexx committed Jan 7, 2025
1 parent 755ca39 commit 259cb4e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion arch/arm/mach-snapdragon/of_fixup.c
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,9 @@ void qcom_of_fixup_nodes(void)
time_call(fixup_power_domains);
}

int ft_board_setup(void *blob, struct bd_info __maybe_unused *bd)
int ft_board_setup(void __maybe_unused *blob, struct bd_info __maybe_unused *bd)
{
#if 0
struct fdt_header *fdt = blob;
int node;

Expand All @@ -170,6 +171,7 @@ int ft_board_setup(void *blob, struct bd_info __maybe_unused *bd)
fdt_setprop_string(fdt, node, "dr_mode", "otg");
break;
}
#endif

return 0;
}

0 comments on commit 259cb4e

Please sign in to comment.