aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/diffconfig.sh
diff options
context:
space:
mode:
authorLuo Chongjun <luochongjun@gl-inet.com>2022-12-15 17:25:15 +0800
committerHauke Mehrtens <hauke@hauke-m.de>2023-01-14 19:13:42 +0100
commitb352124cd2115fec648a00956a848660df9477d3 (patch)
treeaa50714e954488ed80340fc9d124e2d4de8f8e8b /scripts/diffconfig.sh
parentc13263ca07a8d0d7b7eeb02261723f409550c9dd (diff)
downloadupstream-b352124cd2115fec648a00956a848660df9477d3.tar.gz
upstream-b352124cd2115fec648a00956a848660df9477d3.tar.bz2
upstream-b352124cd2115fec648a00956a848660df9477d3.zip
ath79: Fix glinet ar300m usb not working
glinet forum users reported the problem at https://forum.gl-inet.com/t/gl-ar300m16-openwrt-22-03-0-rc5-usb-port-power-off-by-default/23199 The current code uses the regulator framework to control the USB power supply. Although usb0 described in DTS refers to the regulator by vbus-supply, but there is no code related to regulator implemented in the USB driver of QCA953X, so the USB of the device cannot work. Under the regulator framework, adding the regulator-always-on attribute fixes this problem, but it means that USB power will not be able to be turned off. Since we need to control the USB power supply in user space, I didn't find any other better way under the regulator framework of Linux, so I directly export gpio. Signed-off-by: Luo Chongjun <luochongjun@gl-inet.com>
Diffstat (limited to 'scripts/diffconfig.sh')
0 files changed, 0 insertions, 0 deletions