From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752346AbdLMWg1 (ORCPT ); Wed, 13 Dec 2017 17:36:27 -0500 Received: from mail-pf0-f180.google.com ([209.85.192.180]:37475 "EHLO mail-pf0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751011AbdLMWg0 (ORCPT ); Wed, 13 Dec 2017 17:36:26 -0500 X-Google-Smtp-Source: ACJfBovRAFrw8qwA5Fnl87Q7/wgdILiqKtr0LSC03uNN+aFF4+X8atWhWXBsX003PIkU192GX55Kdw== Date: Wed, 13 Dec 2017 14:36:24 -0800 From: Nicolin Chen To: "Maciej S. Szmigiero" Cc: broonie@kernel.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, alsa-devel@alsa-project.org, lgirdwood@gmail.com, fabio.estevam@nxp.com, timur@tabi.org, caleb@crome.org, arnaud.mouiche@invoxia.com, lukma@denx.de, kernel@pengutronix.de Subject: Re: [PATCH v2 03/11] ASoC: fsl_ssi: Refine all comments Message-ID: <20171213223623.GB13576@Asurada-Nvidia> References: <1513146874-25476-1-git-send-email-nicoleotsuka@gmail.com> <1513146874-25476-4-git-send-email-nicoleotsuka@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 13, 2017 at 11:28:51PM +0100, Maciej S. Szmigiero wrote: > > - /* > > - * If we're in synchronous mode, and the SSI is already enabled, > > - * then STCCR is already set properly. > > - */ > > + /* To support simultaneous TX and RX, bypass it if SSI is enabled */ > > if (enabled && ssi->cpu_dai_drv.symmetric_rates) > > return 0; > > > > I would say that the old comment described better what is happening - > since in synchronous (& non-AC'97) mode STCCR controls both TX and RX > the first direction that is started (either playback or capture) is the > only direction that needs to configure SSI in hw_params(). There is also an SCR register configuration in this hw_params(), so the old comment has to be updated. But I would take it into consideration and revise a bit. Thanks.