mirror of
https://github.com/torvalds/linux.git
synced 2024-12-18 17:12:55 +00:00
f5e4edb8c8
twl4030_charger currently finds the associated phy using usb_get_phy() which will return the first USB2 phy. If your platform has multiple such phys (as mine does), this is not reliable (and reliably fails on the GTA04). Change to use devm_usb_get_phy_by_node(), having found the node by looking for an appropriately named sibling in device-tree. This makes usb-charging dependent on correct device-tree configuration. Acked-By: Sebastian Reichel <sre@kernel.org> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: NeilBrown <neilb@suse.de> Signed-off-by: Felipe Balbi <balbi@ti.com> |
||
---|---|---|
.. | ||
reset | ||
bq2415x.txt | ||
da9150-charger.txt | ||
fsl,imx-gpc.txt | ||
isp1704.txt | ||
ltc2941.txt | ||
opp.txt | ||
power_domain.txt | ||
power-controller.txt | ||
renesas,sysc-rmobile.txt | ||
rockchip-io-domain.txt | ||
rx51-battery.txt | ||
twl-charger.txt |