From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtp.codeaurora.org ([198.145.29.96]:59420 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753188AbcKRLWt (ORCPT ); Fri, 18 Nov 2016 06:22:49 -0500 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Subject: Re: [v4,1/3] mwifiex: Allow mwifiex early access to device structure From: Kalle Valo In-Reply-To: <1479216964-3328-1-git-send-email-akarwar@marvell.com> References: <1479216964-3328-1-git-send-email-akarwar@marvell.com> To: Amitkumar Karwar Cc: , Cathy Luo , Nishant Sarmukadam , , , , Amitkumar Karwar Message-Id: <20161118112248.598AD62669@smtp.codeaurora.org> (sfid-20161118_122255_186730_F87F66AD) Date: Fri, 18 Nov 2016 11:22:48 +0000 (UTC) Sender: linux-wireless-owner@vger.kernel.org List-ID: Amitkumar Karwar wrote: > From: Rajat Jain > > Today all the interface drivers (usb/pcie/sdio) assign the > adapter->dev in the register_dev() callback, although they > have this piece of info well before hand. > > This patch makes the device structure available for mwifiex > right at the beginning, so that it can be used for early > initialization if needed. > > This is needed for subsequent patches in this patchset that > intend to unify and consolidate some of the code that would > otherwise have to be duplicated among the interface drivers > (sdio, pcie, usb). > > Signed-off-by: Rajat Jain > Signed-off-by: Amitkumar Karwar This patchset doesn't apply: Repository lacks necessary blobs to fall back on 3-way merge. Cannot fall back to three-way merge. Patch failed at 0001 mwifiex: Introduce mwifiex_probe_of() to parse common properties I guess it depends on this patch which is still under review: mwifiex: parse device tree node for PCIe -- https://patchwork.kernel.org/patch/9429835/ Documentation about submitting wireless patches and checking status from patchwork: https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches