aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/acp-rt286-load
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/acp-rt286-load')
-rw-r--r--common/recipes-kernel/acp-rt286-load/amd-acp-rt286-load_1.0.bb15
-rw-r--r--common/recipes-kernel/acp-rt286-load/files/modprobe.d/snd-soc-acp-rt286-mach.conf2
2 files changed, 0 insertions, 17 deletions
diff --git a/common/recipes-kernel/acp-rt286-load/amd-acp-rt286-load_1.0.bb b/common/recipes-kernel/acp-rt286-load/amd-acp-rt286-load_1.0.bb
deleted file mode 100644
index eb9afd87..00000000
--- a/common/recipes-kernel/acp-rt286-load/amd-acp-rt286-load_1.0.bb
+++ /dev/null
@@ -1,15 +0,0 @@
-DESCRIPTION = "Configuration file to pass module load parameters to AMD ASoC ACP-12S driver"
-LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
-
-SRC_URI = "file://modprobe.d/snd-soc-acp-rt286-mach.conf"
-
-S = "${WORKDIR}"
-
-do_install() {
- install -d ${D}/${sysconfdir}/modprobe.d/
- install -m 0644 modprobe.d/snd-soc-acp-rt286-mach.conf ${D}${sysconfdir}/modprobe.d/
-}
-
-FILES_${PN} = "${sysconfdir}/modprobe.d"
-
diff --git a/common/recipes-kernel/acp-rt286-load/files/modprobe.d/snd-soc-acp-rt286-mach.conf b/common/recipes-kernel/acp-rt286-load/files/modprobe.d/snd-soc-acp-rt286-mach.conf
deleted file mode 100644
index 130de3d8..00000000
--- a/common/recipes-kernel/acp-rt286-load/files/modprobe.d/snd-soc-acp-rt286-mach.conf
+++ /dev/null
@@ -1,2 +0,0 @@
-#install AMD ASoC ACP-12S driver only on non-embedded hardware by checking 6th bit of iGPU rev ID
-install snd-soc-acp-rt286-mach if [ $(( 2#$(echo "ibase=16; obase=2; $(lspci | awk '/VGA.*AMD.*ATI.*rev [0-9A-Fa-f]+/ {print toupper(substr($NF,1,length($NF)-1)); exit}')" | bc) & 2#00100000 )) -ne 0 ]; then /sbin/modprobe --ignore-install snd-soc-acp-rt286-mach; fi