[alsa-devel] [PATCH 00/48] Rewrite kernel messages with standard printk helpers

Takashi Iwai tiwai at suse.de
Thu Feb 27 11:43:30 CET 2014


At Thu, 27 Feb 2014 09:10:58 +0100,
Takashi Iwai wrote:
> 
> At Thu, 27 Feb 2014 16:00:08 +0800,
> Raymond Yau wrote:
> > 
> > > > Hi,
> > > > >
> > > > > this is another long series of patches for trivial cleanups.
> > > > > This time, they replace the printk and snd_print*() calls in ALSA PCI
> > > > > and USB drivers with dev_err() and co.  This will give nicer and more
> > > > > consistent outputs.
> > > > >
> > > > > The only drawback by these replacements is that alsa-info.sh won't be
> > > > > able to catch the dmesg lines because it doesn't contain any longer
> > > > > the word "ALSA", but only show the module name like "snd_intel8x0".
> > > > >
> > > > > I'm going to fix alsa-info.sh on git soon later, but if you guys think
> > > > > "oh no it's disaster!", let me know.  We need to reconsider a better
> > > > > way to put the known markers (like explicitly putting "ALSA" at the
> > > > > beginning.)
> > > > >
> > > > >
> > > > seem missing au88x0
> > >
> > > Yes, because some driver codes are horrible to work on.
> > > Patches are welcome.
> > >
> > > > can the driver build as modules in kernel 3.11 (ubuntu 13.10) ?
> > >
> > > The dev_err() and co exist since ages ago, so it shouldn't be a
> > > problem.  These patches, however, need the previous change of
> > > snd_card_new() to make the device pointer available in time.
> > >
> > > No idea about Ubuntu.
> > >
> > >
> > it seem usb-audio failed to build as module since last year
> > 
> > https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/?id=80ab8eae70e51d578ebbeb228e0f7a562471b8b7
> 
> Ah, so you meant alsa-driver tree.  It's unmaintained so far due to
> the lack of time.  I really consider dropping it.

OK, updated alsa-driver-build git tree now.
At least, it can compile with 3.11 kernel.  Not tested whether it
actually works, though.


Takashi


More information about the Alsa-devel mailing list