From: Xiubo Li
Date: Fri, 24 Jan 2014 07:43:01 +0000 (+0800)
Subject: ASoC: simple-card: simplify the daifmt code
X-Git-Tag: v3.15-rc1~36^2~1^2~5^2~4^5~9
X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30d0341e7da0c012f64fb290dd1153360fb49a8d;p=pandora-kernel.git
ASoC: simple-card: simplify the daifmt code
In the asoc_simple_card_parse_of() will parse the device node's CPU/CODEC
DAI commone fmts, and then in asoc_simple_card_sub_parse_of() will parse
the CPU/CODEC DAI's sub-node fmts, so we can combine the info->daifmt and
info->set.fmt in asoc_simple_card_sub_parse_of() not while just before
_set_fmt().
And this will be more easy to add new functions, such as supporting
_set_tdm_slot(), etc.
Signed-off-by: Xiubo Li
Signed-off-by: Mark Brown
---
Reading git-diff-tree failed