From: Daniel Danzberger Subject: Re: out of sync capture samples with MMAP on MIPS Date: Sun, 27 May 2018 11:34:07 +0200 Message-ID: <1a67f8d2-92b9-49df-849d-e7e436b828a1@dd-wrt.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from webmail.newmedia-net.de (webmail.newmedia-net.de [185.84.6.166]) by alsa0.perex.cz (Postfix) with ESMTP id 78615267172 for ; Sun, 27 May 2018 11:34:12 +0200 (CEST) In-Reply-To: Content-Language: en-US List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Takashi Iwai Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org On 05/25/2018 02:20 PM, Takashi Iwai wrote:> It's likely because of the cache coherency issue on ARM. > Currently USB-audio driver uses the buffer via vmalloc() for the > intermediate buffer, and this may go out of sync on non-coherent arch > like ARM. > > Does the patch below help? Not sure whether it works on ARM at all, > as I've tested only on x86. >Your patch works. I cannot reproduce the issue anymore. Thanks.