Troy Kisky wrote:
> Jerry Johns wrote:
>> Hey Troy,
>>
>> Thanks for the patches, and you're most probably correct
>> in the DDR latencies being the cause of the sample drops - the patches
>> look like their fixing the alsa code in the git tree - do you have an
>> equivalent patch for the 1.30 DVSDK? (the davinci-audio-aic33.c,
>> -dma-intfc.c and davinci-audio.c files)
>>
>>
>>
>> Thanks a ton,
>>
>>
>>
>> Jerry Johns
> You might try replacing with these routines in dma-intfc.c
> No warranties implied.
>
And this in davinci-audio.c
char * g_DavinciIRam;
/*******************************************************************************
*
* audio_probe(): The Audio driver probe function
* WARNING!!!! : It is expected that the codec would have registered with us
by now
*
******************************************************************************/
static int audio_probe(struct platform_device *dev)
{
int ret;
FN_IN;
if (!audio_state.hw_probe) {
DPRINTK("Probe Function Not Registered\n");
return -ENODEV;
}
ret = audio_state.hw_probe();
g_DavinciIRam = (char *)ioremap(DAVINCI_IRAM_BASE, 0x4000); /* 16k */
FN_OUT(ret);
return ret;
}
/*******************************************************************************
*
* audio_remove() Function to handle removal operations
*
******************************************************************************/
static int audio_remove(struct platform_device *dev)
{
FN_IN;
if (g_DavinciIRam) {
iounmap((void*)g_DavinciIRam);
g_DavinciIRam = NULL;
}
if (audio_state.hw_remove) {
audio_state.hw_remove();
}
FN_OUT(0);
return 0;
}
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source