usb: remove set_usb_irq script for irq change
Since the dwc3 irq is moved by USB gadget hal now, the script is not needed. Bug: 225789036 Test: build pass Change-Id: I42299d30df5343f06be810870c61c5cff3e41df2
This commit is contained in:
parent
1a05b6dc70
commit
7be02c0708
3 changed files with 0 additions and 23 deletions
|
@ -165,12 +165,6 @@ on property:vendor.usb.config=*
|
|||
on property:persist.vendor.usb.usbradio.config=*
|
||||
start usbd
|
||||
|
||||
on property:vendor.usb.dwc3_irq=medium
|
||||
exec /vendor/bin/hw/set_usb_irq.sh medium
|
||||
|
||||
on property:vendor.usb.dwc3_irq=big
|
||||
exec /vendor/bin/hw/set_usb_irq.sh big
|
||||
|
||||
on charger
|
||||
mkdir /config/usb_gadget/g1
|
||||
mkdir /config/usb_gadget/g1/strings/0x409
|
||||
|
|
|
@ -269,7 +269,6 @@ PRODUCT_COPY_FILES += \
|
|||
# Shell scripts
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/gs201/init.insmod.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.insmod.sh \
|
||||
device/google/$(TARGET_BOARD_PLATFORM)/set_usb_irq.sh:$(TARGET_COPY_OUT_VENDOR)/bin/hw/set_usb_irq.sh
|
||||
|
||||
# insmod files
|
||||
PRODUCT_COPY_FILES += \
|
||||
|
|
|
@ -1,16 +0,0 @@
|
|||
#!/vendor/bin/sh
|
||||
|
||||
# Switch into /proc/irq/$IRQ for the dwc3 usb controller
|
||||
cd /proc/irq/*/dwc3/.. || exit 7
|
||||
|
||||
# Move the USB Controller (DWC3) interrupt as requested
|
||||
# Modem and DIT are on 0/2/5 depending on throughput, so avoid those.
|
||||
# 0-3 small, 4-5 medium, 6-7 big
|
||||
case "$1" in
|
||||
medium) core=4;;
|
||||
big) core=6;;
|
||||
*) core=0;;
|
||||
esac
|
||||
|
||||
# This can sometimes fail due to smp_affinity_list no longer existing...
|
||||
echo "${core}" > smp_affinity_list
|
Loading…
Add table
Add a link
Reference in a new issue