mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 15:32:33 +00:00
8c405cdccc
The patches were generated from the RPi repo with the following command: git format-patch v6.6.34..rpi-6.1.y Some patches needed rebasing and, as usual, the applied and reverted, wireless drivers, Github workflows, READMEs and defconfigs patches were removed. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
27 lines
936 B
Diff
27 lines
936 B
Diff
From c30a72d0e0ca9ccb058b63a7a273c75b04a5b6a7 Mon Sep 17 00:00:00 2001
|
|
From: Dom Cobley <popcornmix@gmail.com>
|
|
Date: Mon, 23 May 2022 16:56:44 +0100
|
|
Subject: [PATCH 0504/1085] Revert "usb: phy: generic: Get the vbus supply"
|
|
|
|
This reverts commit c0ea202fbc855d60bc4a0603ca52a9e80654b327.
|
|
---
|
|
drivers/usb/phy/phy-generic.c | 7 -------
|
|
1 file changed, 7 deletions(-)
|
|
|
|
--- a/drivers/usb/phy/phy-generic.c
|
|
+++ b/drivers/usb/phy/phy-generic.c
|
|
@@ -261,13 +261,6 @@ int usb_phy_gen_create_phy(struct device
|
|
return dev_err_probe(dev, PTR_ERR(nop->vcc),
|
|
"could not get vcc regulator\n");
|
|
|
|
- nop->vbus_draw = devm_regulator_get_exclusive(dev, "vbus");
|
|
- if (PTR_ERR(nop->vbus_draw) == -ENODEV)
|
|
- nop->vbus_draw = NULL;
|
|
- if (IS_ERR(nop->vbus_draw))
|
|
- return dev_err_probe(dev, PTR_ERR(nop->vbus_draw),
|
|
- "could not get vbus regulator\n");
|
|
-
|
|
nop->dev = dev;
|
|
nop->phy.dev = nop->dev;
|
|
nop->phy.label = "nop-xceiv";
|