usb: dwc3: pci: Set the swnode from inside dwc3_pci_quirks()
authorHans de Goede <hdegoede@redhat.com>
Sun, 13 Feb 2022 13:05:18 +0000 (14:05 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Feb 2022 15:29:50 +0000 (16:29 +0100)
commite285cb403994419e997749c9a52b9370884ae0c8
treee64727e3b174613278cfe5e9ff7dfbbeb0b4816f
parentd016cbe4d7acf5100df83ecf4d02db4e9f607c1d
usb: dwc3: pci: Set the swnode from inside dwc3_pci_quirks()

The quirk handling may need to set some different properties
which means using a different swnode, move the setting of the swnode
to inside dwc3_pci_quirks() so that the quirk handling can choose
a different swnode.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20220213130524.18748-4-hdegoede@redhat.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc3/dwc3-pci.c