lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Thu, 24 May 2012 11:27:00 +0800 From: Richard Zhao <richard.zhao@...escale.com> To: Shawn Guo <shawn.guo@...aro.org> CC: <linux-kernel@...r.kernel.org>, <linux-arm-kernel@...ts.infradead.org>, <vinod.koul@...el.com>, <dan.j.williams@...el.com>, <linuxzsc@...il.com>, <shawn.guo@...il.com>, <kernel@...gutronix.de> Subject: Re: [PATCH 1/1] dma: imx-sdma: buf_tail should be initialize in prepare function On Thu, May 24, 2012 at 11:20:29AM +0800, Shawn Guo wrote: > On Mon, May 21, 2012 at 08:31:34PM +0800, Richard Zhao wrote: > > This fix audio underrun issue. When SNDRV_PCM_TRIGGER_STOP > > and SNDRV_PCM_TRIGGER_START, it calls prepare again. buf_tail > > should be reset to zero. > > So move buf_tail initialization into prepare function. > > > I tried the patch on imx51, and it does not fix the issue for me. > > Regards, > Shawn > > root@...aro-developer:~# aplay audio8k16S.wav > Playing WAVE 'audio8k16S.wav' : Signed 16 bit Little Endian, Rate 8000 Hz, Stere > o > ^Z > [1]+ Stopped aplay audio8k16S.wav > root@...aro-developer:~# fg > aplay audio8k16S.wav > underrun!!! (at least 2034.382 ms long) Does the audio playback recover? Without the patch, sometimes the playback will have distortion and play too fast. Thanks Richard -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists