RE: Problems with simple-card

2014-01-15 Thread li.xi...@freescale.com
Hi, > I did a mistake in the v1 of my 'ASoC: simple-card: simplify code': I > did not initialize the pointer to the asoc_simple_card_dai_init() > function when DT. Then, I fixed that, and the simple card does not work > for me. > > First, without any 'format' in the DT, I get a fmt for each CPU /

Re: [alsa-devel] Problems with simple-card

2014-01-15 Thread Kuninori Morimoto
Hi > > The main problem is about sysclk: when there is no clock in the DT, > > you get the clock of the CPU or CODEC DAI. In my system, two clocks > > are declared in the controller CPU DAI, but there is no .set_sysclk > > pointer. So, snd_soc_dai_set_sysclk() returns -EINVAL and the card is > > n

Re: Problems with simple-card

2014-01-15 Thread Mark Brown
On Wed, Jan 15, 2014 at 07:18:31PM +0100, Jean-Francois Moine wrote: > The main problem is about sysclk: when there is no clock in the DT, > you get the clock of the CPU or CODEC DAI. In my system, two clocks > are declared in the controller CPU DAI, but there is no .set_sysclk > pointer. So, snd_

Re: Problems with simple-card

2014-01-15 Thread Mark Brown
On Wed, Jan 15, 2014 at 07:18:31PM +0100, Jean-Francois Moine wrote: > Xiubo, Adding Morimoto-san. > I did a mistake in the v1 of my 'ASoC: simple-card: simplify code': I > did not initialize the pointer to the asoc_simple_card_dai_init() > function when DT. Then, I fixed that, and the simple car

Problems with simple-card

2014-01-15 Thread Jean-Francois Moine
Xiubo, I did a mistake in the v1 of my 'ASoC: simple-card: simplify code': I did not initialize the pointer to the asoc_simple_card_dai_init() function when DT. Then, I fixed that, and the simple card does not work for me. First, without any 'format' in the DT, I get a fmt for each CPU / CODEC DA