[alsa-devel] [PATCH v4] ASoC: simple-card: add Device Tree support

Mark Brown broonie at kernel.org
Mon Nov 18 13:41:52 CET 2013

On Mon, Nov 18, 2013 at 11:36:18AM +0000, Mark Rutland wrote:

> What I meant was that I am surprised there isn't a helper doing all of:
> * of_parse_phandle
> * snd_soc_of_get_dai_name
> * snd_soc_of_parse_daifmt

> It looks like a common pattern that could be factored out.

This is the factoring out of the common pattern, other drivers will only
need the compatible string to work out the format.
-------------- 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/20131118/1fe8119e/attachment.sig>

More information about the Alsa-devel mailing list