RE: [PATCH Resend 3/8] ASoC: simple-card: simplify the daifmt code

2014-01-23 Thread li.xi...@freescale.com
> Subject: Re: [PATCH Resend 3/8] ASoC: simple-card: simplify the daifmt code > > On Thu, Jan 23, 2014 at 01:02:45PM +0800, Xiubo Li wrote: > > In the asoc_simple_card_parse_of() will parse the device node's CPU/CODEC > > DAI commone fmts, and then in asoc_simple_card

Re: [PATCH Resend 3/8] ASoC: simple-card: simplify the daifmt code

2014-01-23 Thread Mark Brown
On Thu, Jan 23, 2014 at 01:02:45PM +0800, Xiubo Li wrote: > 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.fm

[PATCH Resend 3/8] ASoC: simple-card: simplify the daifmt code

2014-01-22 Thread Xiubo Li
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_fm