aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-kernel
diff options
context:
space:
mode:
authorAndrea Adami <andrea.adami@gmail.com>2016-04-23 00:52:44 +0200
committerAndrea Adami <andrea.adami@gmail.com>2016-04-24 00:53:00 +0200
commit6a505d5cd7bae1cb716cb47453a90497826108f8 (patch)
tree00f8a780bedf618ab467c174e89e42824af55a74 /recipes-kernel
parente14a2ded66d0930f0689a12464a81af0715efa6d (diff)
downloadmeta-handheld-6a505d5cd7bae1cb716cb47453a90497826108f8.tar.gz
linux-handheld_4.4: add HACK for snd-soc-pxa2xx kernel module autoloading
Fix sound. Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Diffstat (limited to 'recipes-kernel')
-rw-r--r--recipes-kernel/linux/linux-handheld-4.4/snd-soc-pxa2xx-modalias.patch7
-rw-r--r--recipes-kernel/linux/linux-handheld_4.4.bb2
2 files changed, 9 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-handheld-4.4/snd-soc-pxa2xx-modalias.patch b/recipes-kernel/linux/linux-handheld-4.4/snd-soc-pxa2xx-modalias.patch
new file mode 100644
index 0000000..d5fa539
--- /dev/null
+++ b/recipes-kernel/linux/linux-handheld-4.4/snd-soc-pxa2xx-modalias.patch
@@ -0,0 +1,7 @@
+--- a/sound/soc/pxa/pxa2xx-pcm.c 2016-01-11 00:01:32.000000000 +0100
++++ b/sound/soc/pxa/pxa2xx-pcm.c 2016-04-20 23:07:02.000000000 +0200
+@@ -117,3 +117,4 @@
+ MODULE_AUTHOR("Nicolas Pitre");
+ MODULE_DESCRIPTION("Intel PXA2xx PCM DMA module");
+ MODULE_LICENSE("GPL");
++MODULE_ALIAS("platform:pxa-pcm-audio");
diff --git a/recipes-kernel/linux/linux-handheld_4.4.bb b/recipes-kernel/linux/linux-handheld_4.4.bb
index ae21dd8..7838fb0 100644
--- a/recipes-kernel/linux/linux-handheld_4.4.bb
+++ b/recipes-kernel/linux/linux-handheld_4.4.bb
@@ -13,6 +13,8 @@ SRC_URI[kernel.sha256sum] = "401d7c8fef594999a460d10c72c5a94e9c2e1022f16795ec517
SRC_URI[stablepatch.md5sum] = "2286314f215706401dd51bf07b179ae4"
SRC_URI[stablepatch.sha256sum] = "34a0e0bc123fe2224a83e13a4da25f7f816438fd77c58dce19588441f5166f0e"
+SRC_URI += "file://snd-soc-pxa2xx-modalias.patch"
+
LOCOMO_PATCHES = "\
file://locomo/0001-mfd-add-new-driver-for-Sharp-LoCoMo.patch \
file://locomo/0002-leds-port-locomo-leds-driver-to-new-locomo-core.patch \