From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751313AbdKJIw0 (ORCPT ); Fri, 10 Nov 2017 03:52:26 -0500 Received: from mga07.intel.com ([134.134.136.100]:43199 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750835AbdKJIwZ (ORCPT ); Fri, 10 Nov 2017 03:52:25 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.44,373,1505804400"; d="scan'208";a="4089" Date: Fri, 10 Nov 2017 14:25:37 +0530 From: Vinod Koul To: Srinivas Kandagatla Cc: Greg Kroah-Hartman , LKML , ALSA , Mark , Takashi , Pierre , Sanyog Kale , Shreyas NC , patches.audio@intel.com, alan@linux.intel.com, Charles Keepax , Sagar Dharia , plai@codeaurora.org, Sudheer Papothi Subject: Re: [PATCH 02/14] soundwire: Add SoundWire bus type Message-ID: <20171110085537.GQ3187@localhost> References: <1508382211-3154-1-git-send-email-vinod.koul@intel.com> <1508382211-3154-3-git-send-email-vinod.koul@intel.com> <5fee4ccb-1030-b698-e7ef-7f4390563a76@linaro.org> <20171110045951.GL3187@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171110045951.GL3187@localhost> 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 On Fri, Nov 10, 2017 at 10:29:51AM +0530, Vinod Koul wrote: > On Thu, Nov 09, 2017 at 09:14:07PM +0000, Srinivas Kandagatla wrote: > > > > > > On 19/10/17 04:03, Vinod Koul wrote: > > >This adds the base SoundWire bus type, bus and driver registration. > > >along with changes to module device table for new SoundWire > > >device type. > > > > > >Signed-off-by: Sanyog Kale > > >Signed-off-by: Vinod Koul > > >--- > > > > >+++ b/drivers/soundwire/Kconfig > > >@@ -0,0 +1,22 @@ > > >+# > > >+# SoundWire subsystem configuration > > >+# > > >+ > > >+menuconfig SOUNDWIRE > > >+ bool "SoundWire support" > > > > Any reason why this subsystem can not be build as module? > > This is not subsystem symbol but the menu. The SOUNDWIRE_BUS can be module. > > > > > >+ ---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 > > > > >+#ifndef __SDW_BUS_H > > >+#define __SDW_BUS_H > > >+ > > >+#include > > >+#include > > >+#include > > >+#include > > >+#include > > Do you need these headers here? > > Yes :) I will double check though > > > > > > >+#include > > >+ > > >+int sdw_slave_modalias(struct sdw_slave *slave, char *buf, size_t size); > > >+ > > >+#endif /* __SDW_BUS_H */ > > >diff --git a/drivers/soundwire/bus_type.c b/drivers/soundwire/bus_type.c > > >new file mode 100644 > > >index 000000000000..a14d1de80afa > > >--- /dev/null > > >+++ b/drivers/soundwire/bus_type.c > > > > > >+#include > > >+#include > > >+#include > > >+#include > > >+#include > > >+#include > > >+#include > > >+#include > > >+#include "bus.h" > > >+ > > >+/** > > >+ * sdw_get_device_id: find the matching SoundWire device id > > >+ * > > function name should end with () - according to kernel doc. > > ah thanks for pointing will add I ran the kernel-doc script, seems to not complain about this. Looking at it closely scripts/kernel-doc parenthesis is not expected -- ~Vinod