<html><head><meta charset="utf-8"><style>body { line-height: 1.5; }blockquote { margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em; }body { font-size: 10.5pt; font-family: 'Segoe UI'; color: rgb(0, 0, 0); line-height: 1.5; }</style></head><body>
<div><span></span></div><div><span><div style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt"><div>Hi Timur</div><div><br></div><div>thanks for your repons.</div><div><br></div><div>I have another question. Did you test full duplex in P1022 RDK board?</div><div>Our design is same with P1022 RDK.</div><div><br></div><div>B.R.</div><div>杨小帅</div></div></span></div>
<blockquote style="margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em;"><div> </div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><div style="PADDING-RIGHT: 8px; PADDING-LEFT: 8px; FONT-SIZE: 12px;FONT-FAMILY:tahoma;COLOR:#000000; BACKGROUND: #efefef; PADDING-BOTTOM: 8px; PADDING-TOP: 8px"><div><b>From:</b> <a href="mailto:timur@tabi.org">Timur Tabi</a></div><div><b>Date:</b> 2014-05-30 23:48</div><div><b>To:</b> <a href="mailto:eshe168@gmail.com">eshe168</a></div><div><b>CC:</b> <a href="mailto:linuxppc-dev@lists.ozlabs.org">linuxppc-dev</a>; <a href="mailto:zhphsearch@163.com">zhphsearch</a></div><div><b>Subject:</b> Re: P1022 audio driver help!</div></div></div><div><div>On 05/30/2014 01:03 AM, eshe168 wrote:</div>
<div>> @timur</div>
<div>> hi,</div>
<div>> Audio card (wm8776) cannot work in full duplex, CPU is FSL P1022.</div>
<div>> The PCB design about audio card reference FSL P1022 development board,</div>
<div>> and palying or recording is OK separately.</div>
<div>> My question is whether P1022 audio driver cannot support full duplex?</div>
<div> </div>
<div>I was never able to get the P1022ds audio to work in full duplex.  After </div>
<div>trying for a few weeks, I just gave up.</div>
<div> </div>
<div>If you look inside fsl_ssi.c (the main driver) you'll see this comment I </div>
<div>wrote:</div>
<div> </div>
<div>/*</div>
<div>  * FIXME: The documentation says that SxCCR[WL] should not be</div>
<div>  * modified while the SSI is enabled.  The only time this can</div>
<div>  * happen is if we're trying to do simultaneous playback and</div>
<div>  * capture in asynchronous mode.  Unfortunately, I have been enable</div>
<div>  * to get that to work at all on the P1022DS.  Therefore, we don't</div>
<div>  * bother to disable/enable the SSI when setting SxCCR[WL], because</div>
<div>  * the SSI will stop anyway.  Maybe one day, this will get fixed.</div>
<div>  */</div>
<div> </div>
<div>(it should say "I have been unable" instead of "I have been enable")</div>
<div> </div>
<div>Full duplex works fine on the MPC8610, which has the same audio </div>
<div>controller as the P1022, so I know the controller is physically capable </div>
<div>of it.  I just don't know why it doesn't work on the P1022DS.  I also </div>
<div>don't know if it's a problem with the P1022DS board or with the P1022 </div>
<div>SOC itself.</div>
<div> </div>
</div></blockquote>
</body></html>