summaryrefslogtreecommitdiffstats
path: root/scripts/unload.sh
diff options
context:
space:
mode:
authorMark Farrugia <mark.farrugia@fiberdyne.com.au>2018-10-25 17:37:07 +1100
committerMark Farrugia <mark.farrugia@fiberdyne.com.au>2018-10-26 17:27:50 +1100
commitd66dbf0820e9e7e14a6f723c1ce92b7ac4e0280d (patch)
treea63bb7dea2279c61cdfa52c78d3b889e6e0c8869 /scripts/unload.sh
parentd8ff159e37cb3768358b350b2dc80118d81d4b2c (diff)
Refactor all avirt_ symbols to have have snd prefix, as per Linux sound
This will aid the eventual migration the the upstream mainline Linux kernel Fix some checkpatch warnings, and other compiler warnings Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
Diffstat (limited to 'scripts/unload.sh')
-rwxr-xr-xscripts/unload.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/unload.sh b/scripts/unload.sh
index 2c158d5..a18e1f5 100755
--- a/scripts/unload.sh
+++ b/scripts/unload.sh
@@ -1,13 +1,13 @@
#!/bin/sh
-rmdir /config/avirt/streams/playback_*
-rmdir /config/avirt/streams/capture_*
+rmdir /config/snd-avirt/streams/playback_*
+rmdir /config/snd-avirt/streams/capture_*
rm_module() {
lsmod |grep "^$1\>" && rmmod $1 || true
}
-rm_module avirt_loopbackap
-rm_module avirt_dummyap
-rm_module avirt_core
+rm_module snd_avirt_ap_loopback
+rm_module snd_avirt_ap_dummy
+rm_module snd_avirt_core
echo "Drivers Removed!"