usb: dwc2: Add comment about BCM2848 ACPI ID
authorStefan Wahren <wahrenst@gmx.net>
Sun, 28 Jul 2024 13:00:25 +0000 (15:00 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 31 Jul 2024 08:47:15 +0000 (10:47 +0200)
During recent code review the different naming between ACPI and OF
IDs led to confusion. So add a clarifying comment.

Link: https://lore.kernel.org/linux-usb/38e46b44-6248-45e8-bdf9-66008a2fe290@arm.com/
Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
Link: https://lore.kernel.org/r/20240728130029.78279-4-wahrenst@gmx.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc2/params.c

index a937eadbc9b3e9b956b9f55a8ae3def29f18e75d..4d73fae80b1230309ef707ce365a32f6bbab34ee 100644 (file)
@@ -352,6 +352,7 @@ const struct of_device_id dwc2_of_match_table[] = {
 MODULE_DEVICE_TABLE(of, dwc2_of_match_table);
 
 const struct acpi_device_id dwc2_acpi_match[] = {
+       /* This ID refers to the same USB IP as of_device_id brcm,bcm2835-usb */
        { "BCM2848", (kernel_ulong_t)dwc2_set_bcm_params },
        { },
 };