[alsa-devel] [PATCH 1/5 v3] ASoC: add generic simple-card support
Kuninori Morimoto
kuninori.morimoto.gx at renesas.com
Thu Apr 19 04:54:01 CEST 2012
Hi Takashi, Mark
> > > It's the call in sound/last.c. Only devices that have been preoprly
> > > regstered at this point of __init calls are shown. So, it's often
> > > misleading.
> >
> > I keep wondering if we should just remove it due to confusion like this.
>
> I don't mind to get rid of it at all.
> But maybe it'd be good to have an alternative debug (or info) print,
> e.g. showing at each card registration.
If I used late_initcall_sync() for it,
the boot log became below.
------ before --------------------------
-> platform asoc-simple-card.0: Driver asoc-simple-card requests probe deferral
-> ALSA device list:
-> No soundcards found.
TCP: cubic registered
NET: Registered protocol family 17
Registering the dns_resolver key type
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 2
/opt/usr/src/WORK/morimoto/gitlinux/linux-2.6/drivers/rtc/hctosys.c: unable to )
-> asoc: ak4642-hifi <-> fsia-dai mapping ok
smsc911x smsc911x.0: eth0: SMSC911x/921x identified at 0xdf022000, IRQ: 275
Sending DHCP requests .
IP-Config: Got DHCP answer from 192.168.10.77, my address is 192.168.10.119
IP-Config: Complete:
device=eth0, addr=192.168.10.119, mask=255.255.255.0, gw=192.168.10.77
host=192.168.10.119, domain=example.org, nis-domain=(none)
bootserver=192.168.10.77, rootserver=192.168.10.77, rootpath=/opt/tftpbootm
VFS: Mounted root (nfs filesystem) on device 0:10.
Freeing init memory: 128K
------ after --------------------------
-> platform asoc-simple-card.0: Driver asoc-simple-card requests probe deferral
TCP: cubic registered
NET: Registered protocol family 17
Registering the dns_resolver key type
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 2
/opt/usr/src/WORK/morimoto/gitlinux/linux-2.6/drivers/rtc/hctosys.c: unable to )
-> asoc: ak4642-hifi <-> fsia-dai mapping ok
smsc911x smsc911x.0: eth0: SMSC911x/921x identified at 0xdf022000, IRQ: 275
Sending DHCP requests .
IP-Config: Got DHCP answer from 192.168.10.77, my address is 192.168.10.119
IP-Config: Complete:
device=eth0, addr=192.168.10.119, mask=255.255.255.0, gw=192.168.10.77
host=192.168.10.119, domain=example.org, nis-domain=(none)
bootserver=192.168.10.77, rootserver=192.168.10.77, rootpath=/opt/tftpbootm
-> ALSA device list:
-> #0: FSI2A-AK4648
VFS: Mounted root (nfs filesystem) on device 0:10.
Freeing init memory: 128K
--------------------------------------------
Best regards
---
Kuninori Morimoto
More information about the Alsa-devel
mailing list