Thanks, that got it showing up. Now fore testing. 

Dennis

On Wednesday, April 9, 2014 7:38:45 AM UTC-6, CodeKipper wrote:
>
> 0n 9 April 2014 15:13, Dennis Kerrisk <[email protected] <javascript:>>wrote:
>
>> Oops I grapped the wrong lines of code, Here are the correct ones:
>>     if(clk_set_parent(i2s_moduleclk, i2s_pll2clk)){
>>         printk("try to set parent of i2s_moduleclk to i2s_pll2ck failed! 
>> line = %d\n",__LINE__);
>>         goto out1;
>>     }
>>   Dennis
>>
>>
>> On Wednesday, April 9, 2014 7:05:27 AM UTC-6, Dennis Kerrisk wrote:
>>>
>>> I have an Olimex A20 board running version 3.4.79. I have built it to 
>>> enable I2S, but when I boot I get 
>>> [    3.141094] try to set parent of i2s_moduleclk to i2s_pll2ck failed! 
>>> line = 603
>>>
>>> And the I2s driver does not start. 
>>>
>>> The lines of code in the driver that fails is:
>>>     if(clk_set_rate(i2s_moduleclk, 24576000/8)){
>>>         printk("set i2s_moduleclk clock freq to 24576000 failed! line = 
>>> %d\n", __LINE__);
>>>         goto out1;
>>>     } 
>>>
>>> Any suggestions on what to look for to get this working???/
>>>
>> Hi Dennis,
> a quick grep shows that the clocks in i2s haven't been changed for 
> sun7i(A20). A quick hack would be something like this.
>     /* i2s module clk */
>     i2s_moduleclk = clk_get(NULL, "i2s0");
> CK
>  
>
>> Dennis
>>>
>>>
>>>  -- 
>> You received this message because you are subscribed to the Google Groups 
>> "linux-sunxi" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to