summaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorXiubo Li <Li.Xiubo@freescale.com>2014-01-24 15:43:01 +0800
committerMark Brown <broonie@linaro.org>2014-02-03 12:45:34 +0000
commit30d0341e7da0c012f64fb290dd1153360fb49a8d (patch)
tree98e7803eff28a2853262dec730ebde0ca55e27ba /include/sound
parent4763ebe226156db985fe75bfe930c4069d1f4207 (diff)
downloadop-kernel-dev-30d0341e7da0c012f64fb290dd1153360fb49a8d.zip
op-kernel-dev-30d0341e7da0c012f64fb290dd1153360fb49a8d.tar.gz
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 <Li.Xiubo@freescale.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'include/sound')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud