Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753405AbeAOANL (ORCPT + 1 other); Sun, 14 Jan 2018 19:13:11 -0500 Received: from mail-pf0-f196.google.com ([209.85.192.196]:44803 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752469AbeAOANJ (ORCPT ); Sun, 14 Jan 2018 19:13:09 -0500 X-Google-Smtp-Source: ACJfBovd4Ko+9KNjov52aw3NJUwPmsxmYorbKkFZHxIEawE7+re3lDcTyvJVPfwwXI3jsJih7KkvVw== Date: Sun, 14 Jan 2018 16:13:06 -0800 From: Nicolin Chen To: "Maciej S. Szmigiero" Cc: timur@tabi.org, 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, caleb@crome.org, arnaud.mouiche@invoxia.com, lukma@denx.de, kernel@pengutronix.de Subject: Re: [PATCH v2 14/16] ASoC: fsl_ssi: Remove cpu_dai_drv from fsl_ssi structure Message-ID: <20180115001305.GD2925@Asurada-CZ80> References: <1515652995-15996-1-git-send-email-nicoleotsuka@gmail.com> <1515652995-15996-15-git-send-email-nicoleotsuka@gmail.com> <4626cd37-c84c-6187-51ae-73fa419b801e@maciej.szmigiero.name> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4626cd37-c84c-6187-51ae-73fa419b801e@maciej.szmigiero.name> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On Sun, Jan 14, 2018 at 11:42:59PM +0100, Maciej S. Szmigiero wrote: > On 11.01.2018 07:43, Nicolin Chen wrote: > > The cpu_dai_drv is only used for symmetric_rates. So this patch replaces > > it with a synchronous boolean flag. > > You make cpu_dai_drv common to all SSI instances instead of per-instance. > > What if you have multiple SSIs in the system with different > symmetric_{rates,samplebits,channels} settings? Good catch...it should maintain each cpu_dai_drv separately. Thanks!