[alsa-devel] commit: dpcm: Allow FE to be opened without valid BE routes

Mark Brown broonie at opensource.wolfsonmicro.com
Wed Nov 7 09:48:56 CET 2012

On Wed, Nov 07, 2012 at 02:03:14AM +0900, anish kumar wrote:

> As I can see this commit has changed the log level from dev_warn to
> dev_dbg but this has caused a subtle problem.Right now we rely on this
> warning to find out issues related to "application not sending UCM

You shouldn't be relying on parsing dmesg for anything, that's never
going to be robust as you've just found.  dmesg is for humans.

> If everyone agrees then I would be more than happy to send a patch.

Please come up with a better way of identifying this; something like
information in debugfs for example or working on getting the media
controller API support merged and then using that to parse out the
routing map from that and notice the misconfiguration.  This would
be much better anyway since the same thing can happen elsewhere in DAPM
and your current mechanism.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20121107/e6e2928c/attachment.sig>

More information about the Alsa-devel mailing list