From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933098AbcIAK4t (ORCPT ); Thu, 1 Sep 2016 06:56:49 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:40782 "EHLO dd1012.kasserver.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753088AbcIAK4r (ORCPT ); Thu, 1 Sep 2016 06:56:47 -0400 Date: Thu, 1 Sep 2016 12:56:08 +0200 From: Danny Milosavljevic To: Chen-Yu Tsai Cc: Maxime Ripard , Mark Brown , linux-kernel , linux-arm-kernel , Linux-ALSA , Jaroslav Kysela , Takashi Iwai , Liam Girdwood , linux-sunxi Subject: Re: [PATCH v9 2/2] Add mixer controls: Line-In, FM-In, Mic 2, Capture Source, Differential Line-In. Message-ID: <20160901125608.72808fac@scratchpost.org> In-Reply-To: References: <20160830054403.7878-1-dannym@scratchpost.org> <20160830054403.7878-3-dannym@scratchpost.org> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Chen-Yu, > I have a few patches that introduce SOC_DAPM_DOUBLE, so you can share a > control between left/right channels. IMHO it makes the userspace mixer > less confusing. I definitely agree that cutting down on the number of sliders would be good. I do a double-take every time I open alsamixer - and I *added* these sun4i widgets :) It would be good if your patch series was queued and I could use SOC_DAPM_DOUBLE in a future version of my patch. Can you post it? Since it changes user space-visible API whether I group the widgets or not we have to be careful about it. So far my patch has not been merged which is good for API stability I guess. I wondered about why there's a SOC_DOUBLE_TLV but no SOC_DAPM_DOUBLE before, so it's good to know there's no deep reason. That said, I'd have to remove the distinction between Left Mixer and Right Mixer then. Right now it does distinguish. Removing the distinction would remove noteworthy routes like { "Right Mixer", "Left DAC Playback Switch", "Left DAC" }, (not a typo). Would that be OK? Well, let's see how it will work out. In the mean time I added the second regmap and the quirks and will post another patch series for comments. Cheers, Danny