[no ci] update load_ingenic script to add audio module parameters (#1200)

Co-authored-by: Signor Pellegrino <68112357+FlyRouter@users.noreply.github.com>
Co-authored-by: cronyx <xcronyx@gmail.com>
pull/1201/head
gtxaspec 2023-12-17 10:01:41 -08:00 committed by GitHub
parent b9d49c320b
commit 415bda1ee5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 5 deletions

View File

@ -98,7 +98,7 @@ fi
lsmod | grep "audio" >/dev/null
if [ $? -ne 0 ]; then
insmod ${KMOD_PATH/%\//}/audio2.ko
insmod ${KMOD_PATH/%\//}/audio2.ko spk_gpio=-1
check_return "insmod audio"
fi

View File

@ -94,6 +94,6 @@ fi
lsmod | grep "audio" >/dev/null
if [ $? -ne 0 ]; then
insmod ${KMOD_PATH/%\//}/audio.ko
insmod ${KMOD_PATH/%\//}/audio.ko spk_gpio=-1
check_return "insmod audio"
fi

View File

@ -75,7 +75,7 @@ fi
lsmod | grep "audio" >/dev/null
if [ $? -ne 0 ]; then
insmod ${KMOD_PATH/%\//}/audio.ko
insmod ${KMOD_PATH/%\//}/audio.ko spk_gpio=-1
check_return "insmod audio"
fi

View File

@ -205,7 +205,7 @@ fi
lsmod | grep "audio" >/dev/null
if [ $? -ne 0 ]; then
modprobe audio
modprobe audio spk_gpio=-1
check_return "insmod audio"
fi

View File

@ -97,7 +97,7 @@ fi
lsmod | grep "audio" >/dev/null
if [ $? -ne 0 ]; then
modprobe audio
modprobe audio spk_gpio=-1
check_return "insmod audio"
fi