From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932213AbdJ3NID (ORCPT ); Mon, 30 Oct 2017 09:08:03 -0400 Received: from mga14.intel.com ([192.55.52.115]:5334 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752305AbdJ3NIC (ORCPT ); Mon, 30 Oct 2017 09:08:02 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.44,320,1505804400"; d="scan'208";a="1211884433" Date: Mon, 30 Oct 2017 18:41:04 +0530 From: Vinod Koul To: Greg Kroah-Hartman Cc: LKML , ALSA , Mark , Takashi , Pierre , Sanyog Kale , Shreyas NC , patches.audio@intel.com, alan@linux.intel.com, Charles Keepax , Sagar Dharia , srinivas.kandagatla@linaro.org, plai@codeaurora.org, Sudheer Papothi Subject: Re: [PATCH 02/14] soundwire: Add SoundWire bus type Message-ID: <20171030131104.GE3187@localhost> References: <1508382211-3154-1-git-send-email-vinod.koul@intel.com> <1508382211-3154-3-git-send-email-vinod.koul@intel.com> <20171020104528.GC3210@kroah.com> <20171020160134.GT30097@localhost> <20171026083342.GW936@localhost> <20171027085739.GA28825@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171027085739.GA28825@kroah.com> 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, Oct 27, 2017 at 10:57:39AM +0200, Greg Kroah-Hartman wrote: > On Thu, Oct 26, 2017 at 02:03:42PM +0530, Vinod Koul wrote: > > On Fri, Oct 20, 2017 at 09:31:34PM +0530, Vinod Koul wrote: > > > On Fri, Oct 20, 2017 at 12:45:28PM +0200, Greg Kroah-Hartman wrote: > > > > On Thu, Oct 19, 2017 at 08:33:18AM +0530, Vinod Koul wrote: > > > > > > > +struct bus_type sdw_bus_type = { > > > > > + .name = "soundwire", > > > > > + .match = sdw_bus_match, > > > > > + .uevent = sdw_uevent, > > > > > +}; > > > > > +EXPORT_SYMBOL(sdw_bus_type); > > > > > > > > No release callback? Who frees the device? > > > > Hmmm, bus_type doesn't seem to have a release callback. The sdw_device has > > release and that is added in the next patch. So I am not changing anything > > here. Let me know If I missed anything... > > Ok, as long as you really have a release callback for when the device > goes away, and you have tested device removal... Yup both checks done, thanks for confirming... -- ~Vinod