From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754531AbcJ0BUo (ORCPT ); Wed, 26 Oct 2016 21:20:44 -0400 Received: from smtp.csie.ntu.edu.tw ([140.112.30.61]:59476 "EHLO smtp.csie.ntu.edu.tw" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753115AbcJ0BUm (ORCPT ); Wed, 26 Oct 2016 21:20:42 -0400 MIME-Version: 1.0 In-Reply-To: <20161026165753.GC25322@sirena.org.uk> References: <20161003110804.28235-1-wens@csie.org> <20161003110804.28235-3-wens@csie.org> <20161026165753.GC25322@sirena.org.uk> From: Chen-Yu Tsai Date: Thu, 27 Oct 2016 09:20:14 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 02/12] ASoC: dapm: Implement stereo mixer control support To: Mark Brown Cc: Chen-Yu Tsai , Liam Girdwood , Jaroslav Kysela , Takashi Iwai , Rob Herring , Mark Rutland , Russell King , Maxime Ripard , Linux-ALSA , linux-arm-kernel , linux-kernel , devicetree , linux-sunxi Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 27, 2016 at 12:57 AM, Mark Brown wrote: > On Mon, Oct 03, 2016 at 07:07:54PM +0800, Chen-Yu Tsai wrote: > >> While DAPM is mono or single channel, its controls can be shared between >> widgets, such as sharing one stereo mixer control between the left and >> right channel widgets. > >> This patch introduces support for such shared mixer controls. > > Based on this changelog I'm really not sure what the intended semantic > of this change is which makes it difficult to review. What are you > expecting these controls to look like and how are you expecting them to > work? > >> -static void dapm_set_mixer_path_status(struct snd_soc_dapm_path *p, int i) >> +static void dapm_set_mixer_path_status(struct snd_soc_dapm_path *p, int i, >> + int nth_path) > > It looks like the goal is to attach more than one path to a single > control somehow? Correct. I'll try to expand the commit log and add an example diagram. ChenYu