From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752363AbdJSIcc (ORCPT ); Thu, 19 Oct 2017 04:32:32 -0400 Received: from mx2.suse.de ([195.135.220.15]:54536 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751018AbdJSIca (ORCPT ); Thu, 19 Oct 2017 04:32:30 -0400 Date: Thu, 19 Oct 2017 10:32:27 +0200 Message-ID: From: Takashi Iwai To: Vinod Koul Cc: ALSA , Charles Keepax , Sudheer Papothi , patches.audio@intel.com, Greg Kroah-Hartman , plai@codeaurora.org, LKML , Pierre , Mark , srinivas.kandagatla@linaro.org, Shreyas NC , Sanyog Kale , Sagar Dharia , alan@linux.intel.com Subject: Re: [alsa-devel] [PATCH 02/14] soundwire: Add SoundWire bus type In-Reply-To: References: <1508382211-3154-1-git-send-email-vinod.koul@intel.com> <1508382211-3154-3-git-send-email-vinod.koul@intel.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 19 Oct 2017 09:40:06 +0200, Takashi Iwai wrote: > > On Thu, 19 Oct 2017 05:03:18 +0200, > Vinod Koul wrote: > > > > --- /dev/null > > +++ b/drivers/soundwire/Kconfig > > @@ -0,0 +1,22 @@ > > +# > > +# SoundWire subsystem configuration > > +# > > + > > +menuconfig SOUNDWIRE > > + bool "SoundWire support" > > + ---help--- > > + SoundWire is a 2-Pin interface with data and clock line ratified > > + by the MIPI Alliance. SoundWire is used for transporting data > > + typically related to audio functions. SoundWire interface is > > + optimized to integrate audio devices in mobile or mobile inspired > > + systems > > + > > +if SOUNDWIRE > > + > > +comment "SoundWire Devices" > > + > > +config SOUNDWIRE_BUS > > + tristate > > + default SOUNDWIRE > > + > > Does it make sense to be tristate? > Since CONFIG_SOUNDWIRE is a bool, the above would be also only either > Y or N. If it's Y and others select M, it'll be still Y. I found a later patch selecting SOUNDWIRE_BUS. So just drop this "default" line, and always let others selecting the bus. Takashi