Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp2310342imd; Sun, 28 Oct 2018 07:26:49 -0700 (PDT) X-Google-Smtp-Source: AJdET5c7cnQ0mFL3c1lquA8fJuB2sjrwNcKxI6CrxfQnG5sjToqr50MCOnrn78q76d/NUUqA/iQm X-Received: by 2002:a62:1a92:: with SMTP id a140-v6mr11279493pfa.219.1540736809330; Sun, 28 Oct 2018 07:26:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540736809; cv=none; d=google.com; s=arc-20160816; b=V3aR6msYgph/D46Fj6Pmsqj9KszCgNkEJR58PibQeJEyaQ0Vyev2JeSv5tmZU72bup Qw93nkv/CnD+SZw20BiX5iOvXHWTqT4DItNKk3EqyyTndqEMPExyCs3vUzKxtJf0J0cd C10CTmYmvsMrf/O3lTvbpDG3Gxu2b52SpcMw/0LJ/YKj7JxgHkEnncFLkgdQOuENG1wH h9dalX5xU3zoeLa/aia/REQp5ugV9pcZ3o6PauFWiYG55CQ+4edq+49vQSUqgaXPSZHb cNd0to/0grNv4rHmsGhqAqWB0Pajhp0fbQdF25zKsADP5KN1Pxd1x/L7HBqpqIsxRPWg uztA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version; bh=SiilPqiC8IKncH4zUwKct1gjum0c+Sp4cgs+oaaCTZM=; b=uZIiCPy9GSbW01uG8eao/qrqVnne6n/ERcPePhXgocEmXGTZZbOsnkSS3T8y0ocmeG Ir/os9gXsARftZnebW+GctgU8hsnhp4vpks/GZUHbswQ5rnSuuLv1gln9SwkF2KqUWMu J8jncHEu55qIlmL4KE97KkFAulhgjNFskv7l5uiR6fZ0XEsfNhEVlgSfXZnP7GV5EaPF wG9pEvvsb2VoXYC0xAwvW4HAcLSv0hTDUxc/AYl4KrmeKqErk61OdJ6oOaKtU1YakYTz mqahIAj997X2WtMJVT70dUkVtCkeoNYVakcwwDH59WW2tMtso+GJ9CzyTZ9ETJY93Y7B cwEg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e12-v6si16932055pfi.271.2018.10.28.07.26.31; Sun, 28 Oct 2018 07:26:49 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727507AbeJ1XJl convert rfc822-to-8bit (ORCPT + 99 others); Sun, 28 Oct 2018 19:09:41 -0400 Received: from vie01a-dmta-pe08-1.mx.upcmail.net ([84.116.36.20]:61411 "EHLO vie01a-dmta-pe08-1.mx.upcmail.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726828AbeJ1XJl (ORCPT ); Sun, 28 Oct 2018 19:09:41 -0400 Received: from [172.31.216.235] (helo=vie01a-pemc-psmtp-pe12.mail.upcmail.net) by vie01a-dmta-pe08.mx.upcmail.net with esmtp (Exim 4.88) (envelope-from ) id 1gGlzq-0001re-0z for linux-kernel@vger.kernel.org; Sun, 28 Oct 2018 15:24:54 +0100 Received: from helix.aillwee.com ([37.228.204.209]) by vie01a-pemc-psmtp-pe12.mail.upcmail.net with ESMTP id GlzngtHcYkosQGlzng9BpX; Sun, 28 Oct 2018 15:24:52 +0100 X-Env-Mailfrom: mikebrady@eircom.net X-Env-Rcptto: linux-kernel@vger.kernel.org X-SourceIP: 37.228.204.209 X-CNFS-Analysis: v=2.3 cv=NNQEBHyg c=1 sm=1 tr=0 a=/+iDkf0alGTUGXENEoGzTg==:117 a=/+iDkf0alGTUGXENEoGzTg==:17 a=kj9zAlcOel0A:10 a=smKx5t2vBNcA:10 a=pGLkceISAAAA:8 a=foHCeV_ZAAAA:8 a=qjr1OBkKLYMV1eQWp_MA:9 a=CjuIK1q_8ugA:10 a=h8a9FgHX5U4dIE3jaWyr:22 Received: from [172.20.10.4] (unknown [77.75.241.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by helix.aillwee.com (Postfix) with ESMTPSA id 95E7B4E607; Sun, 28 Oct 2018 14:24:50 +0000 (GMT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.0 \(3445.100.39\)) Subject: Re: [alsa-devel] [PATCH v2] staging: bcm2835-audio: interpolate audio delay From: Mike Brady In-Reply-To: <5bc8295a-1e38-99b5-d54c-72e920600f83@gmail.com> Date: Sun, 28 Oct 2018 14:24:56 +0000 Cc: Takashi Iwai , Stefan Wahren , devel@driverdev.osuosl.org, alsa-devel@alsa-project.org, f.fainelli@gmail.com, julia.lawall@lip6.fr, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, eric@anholt.net, linux-rpi-kernel@lists.infradead.org, nishka.dasgupta_ug18@ashoka.edu.in, linux-arm-kernel@lists.infradead.org Content-Transfer-Encoding: 8BIT Message-Id: <4E95A62E-951C-4432-BCE4-A2BA64029551@eircom.net> References: <20181022191708.GA4659@ubuntu> <046aea96-e0d3-60f4-c61a-c26bb1b5c193@gmail.com> <9884c4f5-2343-e3a4-8d8b-dd2db404ef27@gmail.com> <5bc8295a-1e38-99b5-d54c-72e920600f83@gmail.com> To: Kirill Marinushkin X-Mailer: Apple Mail (2.3445.100.39) X-CMAE-Envelope: MS4wfN+obAUj1HnM3caf4Xchuzx6v7UXSo3WpTOBcR1zjaor1lNMRI/gFQNnlXbDP0Zso2J0XxXbt8q80/UIiXa5ZHKF6fy51ngcngpygCDnKuWw9dxSXDHT uw+Bi2ilcZQMSG9OteeiUY8RP59WLBeuepEdVyXtZgTfYJhwPmHOI+JERnJsLnQCoTWRT5Ck+CBjqegkUDk7HSiFu2oTIsCT7Ncg9+il0dzQ2FeinbBZyLg4 Pxikgu9W82ah/K57cVsFuEVyMvqfaDNh8UZMi5VxivvW1ow6c4IgTJ1OnrrD2GmwhPUVrcQMordraCdTIT35CEKnt5QBUfzMzwJdGdbIf6QhMLRUKJD0d8ms +2BNO1qlwYvdxHnIvAC8mXJNT9yy+ZimjiXl+AylpiVrFu/LnsaWS6yXP0av01fDAmVCGxUEKewZKlFKzfovLyJZGESxINW/hUyygKzw7O+mt/poA0zdugoy lARVoGtG0JvjXuPtOH89Lx/G30aqvoaQHX18S/ogrY1Y2mKvYG6GEke3KMXff9oMzr2hNcHjU/VshtnYl7cv4WtbdYlzzHL+2a82xtO+eEcOmR+Q1kMKf1LY X9GqPJD5cS8NVhx4GysCTPngdkMZt2dyGtMBr2z1IzhtxzsCxwyHveWBfNqKYUs9CE4= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Kirill. Thanks for the post. Mike > On 25 Oct 2018, at 18:20, Kirill Marinushkin wrote: > > Hello Takashi, Mike, > > @Takashi > > On 10/25/18 09:37, Takashi Iwai wrote: >> Well, in the API POV, it's nothing wrong to keep hwptr sticking while >> updating only delay value. It implies that the hardware chip doesn't >> provide the hwptr update. > > Thank you for the clarification. Modifying `runtime->delay` from the `pointer` > function looked wrong for me. Now I understand the motivation and the use-case. > I will be more careful when analyzing the code which doesn't fit my expectations. > > @Mike > > I was wrong. You can ignore my comments. Please don't take them personal: it's > all about having high-quality code in kernel. > > Best Regards, > Kirill > _______________________________________________ > Alsa-devel mailing list > Alsa-devel@alsa-project.org > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel