ASoC: core: Update snd_soc_of_parse_daifmt() interface
authorJyri Sarha <jsarha@ti.com>
Mon, 24 Mar 2014 10:15:24 +0000 (12:15 +0200)
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>
Wed, 4 Feb 2015 10:14:41 +0000 (11:14 +0100)
commite6ac11ddad7cea4d7a02228afb65d417e5e272d9
tree37c44928f01251811058facdfc1cd38866c88fc4
parentacefac3b680447d97e2345b5526e9cd877f774a2
ASoC: core: Update snd_soc_of_parse_daifmt() interface

Adds struct device_node **bitclkmaster and struct device_node **framemaster
function parameters. With the new syntax bitclock-master and frame-master
properties can explicitly indicate the dai-link bit-clock and frame masters
with a phandle. This patch also makes the minimal changes to simple-card
for it to work with the updated snd_soc_of_parse_daifmt(). Simple-card appears
to be the only user of snd_soc_of_parse_daifmt() for now.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
Acked-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mark Brown <broonie@linaro.org>
(cherry picked from commit 389cb8348cf5ac4a702c71bf13673c4c8bf01e34)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
include/sound/soc.h
sound/soc/generic/simple-card.c
sound/soc/soc-core.c