mirror of
https://github.com/archlinux-jerry/pkgbuilds
synced 2024-11-22 22:10:40 +08:00
linux-phicomm-n1: Disable USB2 LPM. This works around several broken USB2 LPM implementations found in USB3 devices
This commit is contained in:
parent
ee3fa034a4
commit
3c3bba9b10
1 changed files with 4 additions and 0 deletions
|
@ -50,6 +50,10 @@ prepare() {
|
||||||
target_dts="meson-gxl-s905d-phicomm-n1.dts"
|
target_dts="meson-gxl-s905d-phicomm-n1.dts"
|
||||||
cat "${srcdir}/${target_dts}" > "./arch/arm64/boot/dts/amlogic/${target_dts}"
|
cat "${srcdir}/${target_dts}" > "./arch/arm64/boot/dts/amlogic/${target_dts}"
|
||||||
|
|
||||||
|
# Disable USB2 LPM. This works around several broken USB2 LPM implementations found in USB3 devices.
|
||||||
|
# https://isolated.site/2019/03/05/several-patches-im-using-for-running-linux-5-0-on-phicomm-n1/
|
||||||
|
sed -i '/snps,dis_u2_susphy_quirk;/a usb2-lpm-disable;' arch/arm64/boot/dts/amlogic/meson-gxl.dtsi
|
||||||
|
|
||||||
# add pkgrel to extraversion
|
# add pkgrel to extraversion
|
||||||
sed -ri "s|^(EXTRAVERSION =)(.*)|\1 \2-${pkgrel}|" Makefile
|
sed -ri "s|^(EXTRAVERSION =)(.*)|\1 \2-${pkgrel}|" Makefile
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue