Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp3951035ybv; Mon, 10 Feb 2020 09:23:59 -0800 (PST) X-Google-Smtp-Source: APXvYqyLc8mtKnf6ZNEIt4W11kCBBr5KZCpGec8WGNFgoySyMXqMkmriGiAL0bxcoHzx20B3EUT6 X-Received: by 2002:a05:6830:1608:: with SMTP id g8mr1761199otr.169.1581355439240; Mon, 10 Feb 2020 09:23:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581355439; cv=none; d=google.com; s=arc-20160816; b=VzWTp/hUuBOzLJxLOZKx5jSuB/OPemPp4/TufEaesnBisCnLlX232IPyEF+yaHyCfs eoNFVACTLt0EFuC406w9riwVN7Ma/aqXdSNfp4s5crZ3Y2z+h/be6pJ7n7Ju31nAyyKa XJjMabKZeZQun3fQfi2IeB3C85jhDKjNDJXe1Z8kZPxUMi8HhFi37rDSsudaAn5XiQ8R TsjAiRJJ0ftIjFAbE4dLBRFBfsyrzzAkc5RurLYirUej4VMPX1pv7Zqv5/dWkRS3Q9no 2Riz2DQMdrjPpmkzmFITiWHWa4wYEB04VxF3m5M04Ki5Ms34cNtAZ8+GJLFZarPUQ0SD pdsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:user-agent:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature:dkim-filter; bh=LBzPdGEvwXi/b0wHoq1y99U4fh/apqlgThb7ByyzJUQ=; b=bFyzjj2ANtgBYD4ou2R3EMh6IqDFS3DqLlYyKqoLbUM7SELhUA5fRB0No8rMLKo2Mk E6MulyfDAV/DvlVY7SPGlUqzkFD4ydh/KQiR0SyKJXBtx7SwT/P/S8+NF7OC/gYTOXry qFwSdBa+pKE4K61SMRAO1K7vTVJt4s5qkOsnGDwwEsLlPweyH4f3b1CD26Y8pwjQTYKc vq9TSClDV8Aj6/7JRHwpECA6E54bU5CHmGfbMj2G59BYscbAzdylD5daJ7BW3wlzljp4 PgeeYgfhvFZclP9kAChJ/kkvVieYm1SiPCMwYHBRx1YySbg2FPMJ6cgd5eHYCG4fQsYp LRHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@serbinski.com header.s=default header.b=I+oJYFey; 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 b10si416260otp.124.2020.02.10.09.23.47; Mon, 10 Feb 2020 09:23:59 -0800 (PST) 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; dkim=pass header.i=@serbinski.com header.s=default header.b=I+oJYFey; 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 S1727950AbgBJRWc (ORCPT + 99 others); Mon, 10 Feb 2020 12:22:32 -0500 Received: from mail.serbinski.com ([162.218.126.2]:39976 "EHLO mail.serbinski.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727558AbgBJRWb (ORCPT ); Mon, 10 Feb 2020 12:22:31 -0500 Received: from localhost (unknown [127.0.0.1]) by mail.serbinski.com (Postfix) with ESMTP id 52FC3D006F9; Mon, 10 Feb 2020 17:22:30 +0000 (UTC) X-Virus-Scanned: amavisd-new at serbinski.com Received: from mail.serbinski.com ([127.0.0.1]) by localhost (mail.serbinski.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id q5mv8vr5Wc_5; Mon, 10 Feb 2020 12:22:26 -0500 (EST) Received: from mail.serbinski.com (localhost [127.0.0.1]) by mail.serbinski.com (Postfix) with ESMTP id C52E1D00693; Mon, 10 Feb 2020 12:22:25 -0500 (EST) DKIM-Filter: OpenDKIM Filter v2.11.0 mail.serbinski.com C52E1D00693 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=serbinski.com; s=default; t=1581355345; bh=LBzPdGEvwXi/b0wHoq1y99U4fh/apqlgThb7ByyzJUQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=I+oJYFeyvVH0rl8fhLnZoA46MBMSXaNBbQgsWJHz/BIT7MyH5m+W8OKmZe/ZdtgY5 oW8fB5nV3+qJK4zTqKNQ1zJB2SMGVPrO/1EkP3gX0dJxhuJM05szGSU1hJuq+m92O1 ija4PhNMz5IrU7i3eVCjph9mJwspfSL0dQIzBaT4= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 10 Feb 2020 12:22:25 -0500 From: Adam Serbinski To: Srinivas Kandagatla Cc: Mark Brown , Rob Herring , Bjorn Andersson , Andy Gross , Mark Rutland , Liam Girdwood , Patrick Lai , Banajit Goswami , Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 3/8] ASoC: qdsp6: q6afe-dai: add support to pcm port dais In-Reply-To: References: <20200207205013.12274-1-adam@serbinski.com> <20200209154748.3015-1-adam@serbinski.com> <20200209154748.3015-4-adam@serbinski.com> User-Agent: Roundcube Webmail/1.4-beta Message-ID: <616e3042f46cb7f052fc71e0ba4919a2@serbinski.com> X-Sender: adam@serbinski.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020-02-10 12:13, Srinivas Kandagatla wrote: > Few minor comments > >> +static int q6afe_tdm_set_sysclk(struct snd_soc_dai *dai, >> + int clk_id, unsigned int freq, int dir) >> +{ > > Why are we adding exactly duplicate function of q6afe_mi2s_set_sysclk > here? It isn't an exact duplicate. The reason I split off the new function is because the clock IDs for PCM overlap/duplicate the clock IDs for TDM, yet the parameters to q6afe_port_set_sysclk are not the same for PCM and TDM. >> + SND_SOC_DAPM_AIF_IN("QUAT_PCM_RX", NULL, >> + 0, 0, 0, 0), > > This can be in single line, same for below I will adjust these.