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)
committerSimon Horman <horms@verge.net.au>
Fri, 5 Dec 2014 00:23:12 +0000 (09:23 +0900)
commitebe3f740c702e8d10055fbaca0cba75167fe894c
tree9efadb72b8d2fefbd1301c5b03ed2c156a281a06
parent6f98af3d366a504fdf06df5983dc08e8e1a1f24c
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