summaryrefslogtreecommitdiff
path: root/system/easy-kernel/0210-fix-powerbook6-5-audio.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2023-10-02 00:03:08 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2023-10-03 21:56:52 -0500
commitee71f0098a7782c4a95c2f1d7ee614569214be1c (patch)
tree120b55e6bde7f7f7f726ba8b34355bccbbc79482 /system/easy-kernel/0210-fix-powerbook6-5-audio.patch
parent8b868f32f7e1b57c90da65157ea59eb6ce337cc9 (diff)
downloadpackages-ee71f0098a7782c4a95c2f1d7ee614569214be1c.tar.gz
packages-ee71f0098a7782c4a95c2f1d7ee614569214be1c.tar.bz2
packages-ee71f0098a7782c4a95c2f1d7ee614569214be1c.tar.xz
packages-ee71f0098a7782c4a95c2f1d7ee614569214be1c.zip
system/easy-kernel: Update to 5.15.132-mc6
* Adds exFAT module to all architectures. * Adds Hyper-V guest support to aarch64. * Fixes audio output issues on some PowerBook models.
Diffstat (limited to 'system/easy-kernel/0210-fix-powerbook6-5-audio.patch')
-rw-r--r--system/easy-kernel/0210-fix-powerbook6-5-audio.patch48
1 files changed, 48 insertions, 0 deletions
diff --git a/system/easy-kernel/0210-fix-powerbook6-5-audio.patch b/system/easy-kernel/0210-fix-powerbook6-5-audio.patch
new file mode 100644
index 000000000..0db865335
--- /dev/null
+++ b/system/easy-kernel/0210-fix-powerbook6-5-audio.patch
@@ -0,0 +1,48 @@
+diff -Naur linux-5.15.98/sound/aoa/fabrics/layout.c linux-5.15.98-aoapatched/sound/aoa/fabrics/layout.c
+--- linux-5.15.98/sound/aoa/fabrics/layout.c 2021-11-01 07:53:10.000000000 +1100
++++ linux-5.15.98-aoapatched/sound/aoa/fabrics/layout.c 2023-03-26 10:26:44.164446653 +1100
+@@ -112,6 +112,8 @@
+ MODULE_ALIAS("aoa-device-id-22");
+ MODULE_ALIAS("aoa-device-id-31");
+ MODULE_ALIAS("aoa-device-id-35");
++MODULE_ALIAS("aoa-device-id-38");
++MODULE_ALIAS("aoa-device-id-40");
+ MODULE_ALIAS("aoa-device-id-44");
+
+ /* onyx with all but microphone connected */
+@@ -368,7 +370,20 @@
+ .connections = tas_connections_nolineout,
+ },
+ },
++ /* PowerBook6,4 */
++ { .device_id = 40,
++ .codecs[0] = {
++ .name = "tas",
++ .connections = tas_connections_nolineout,
++ },
++ },
+ /* PowerBook6,5 */
++ { .device_id = 38,
++ .codecs[0] = {
++ .name = "tas",
++ .connections = tas_connections_all,
++ },
++ },
+ { .device_id = 44,
+ .codecs[0] = {
+ .name = "tas",
+diff -Naur linux-5.15.98/sound/aoa/soundbus/i2sbus/core.c linux-5.15.98-aoapatched/sound/aoa/soundbus/i2sbus/core.c
+--- linux-5.15.98/sound/aoa/soundbus/i2sbus/core.c 2023-03-25 22:44:47.884607314 +1100
++++ linux-5.15.98-aoapatched/sound/aoa/soundbus/i2sbus/core.c 2023-03-25 22:57:44.774604351 +1100
+@@ -197,8 +197,9 @@
+ * We probably cannot handle all device-id machines,
+ * so restrict to those we do handle for now.
+ */
+- if (id && (*id == 22 || *id == 14 || *id == 35 ||
+- *id == 31 || *id == 44)) {
++ if (id && (*id == 14 || *id == 22 || *id == 31 ||
++ *id == 35 || *id == 38 || *id == 40 ||
++ *id == 44)) {
+ snprintf(dev->sound.modalias, 32,
+ "aoa-device-id-%d", *id);
+ ok = 1;