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)
committerMark Brown <broonie@linaro.org>
Wed, 23 Apr 2014 12:14:27 +0000 (13:14 +0100)
commit389cb8348cf5ac4a702c71bf13673c4c8bf01e34
tree7bf0e00cdc1290a186e99fec5130aea04e431d38
parentc9eaa447e77efe77b7fa4c953bd62de8297fd6c5
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>
include/sound/soc.h
sound/soc/generic/simple-card.c
sound/soc/soc-core.c