Letux Kernel

Issue 938: Pandora: snd-soc-omap3pandora.ko fails to modprobe

Reported by Nikolaus Schaller, Feb 26, 2020

Stefan wrote:

I looked into the reason why the kernel module 
snd-soc-omap3pandora.ko
doesn't load on the pandora when running modprobe for it. My finding 
is
the call to the generated function machine_is_omap3_pandora() [1]
returns false. This reason for this is that __machine_arch_type is 
true
(0xffffffff) instead of MACH_TYPE_OMAP3_PANDORA (1761). The 
"true" value
is set in setup_machine_fdt() [2] from the generic device tree 
[3][4].

BR
Stefan

[1]
http://git.goldelico.com/?p=letux-kernel.git;a=blob;f=sound/soc/omap/
omap3pandora.c;h=4e3de712159c500edf72aa169df910b0456f49f1;hb=HEAD#l23
7
[2]
http://git.goldelico.com/?p=letux-kernel.git;a=blob;f=arch/arm/kernel
/devtree.c;h=ecaa68dd1af52c9e1afd994978d70ddad7400b75;hb=HEAD#l263
[3]
http://git.goldelico.com/?p=letux-kernel.git;a=blob;f=arch/arm/mach-o
map2/board-generic.c;h=6b4f4975cf7a6c20361e7a7f96b4a69a2e48c3d2;hb=HE
AD#l141
[4]
http://git.goldelico.com/?p=letux-kernel.git;a=blob;f=arch/arm/includ
e/asm/mach/arch.h;h=bb8851208e1755b2c8eceff2054140f1a9933d01;hb=HEAD#
l98

http://lists.goldelico.com/pipermail/letux-kernel/2020-February/00491
3.html

Created: 4 years 11 months ago by Nikolaus Schaller

Status: New

Labels:
Type:Defect
Priority:Critical
Device:Pandora