From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752280AbbI3AhH (ORCPT ); Tue, 29 Sep 2015 20:37:07 -0400 Received: from mailout4.w1.samsung.com ([210.118.77.14]:61099 "EHLO mailout4.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751255AbbI3AhE (ORCPT ); Tue, 29 Sep 2015 20:37:04 -0400 X-AuditID: cbfec7f4-f79c56d0000012ee-bc-560b2eacf923 Subject: Re: [PATCH] ARM: exynos_defconfig: Enable WiFi-Ex as a module instead built-in To: Javier Martinez Canillas , linux-kernel@vger.kernel.org References: <1443530546-3066-1-git-send-email-javier@osg.samsung.com> Cc: Mauro Carvalho Chehab , Kukjin Kim , Thierry Reding , Anand Moon , Russell King , linux-samsung-soc@vger.kernel.org, Andreas Faerber , Lukasz Majewski , linux-arm-kernel@lists.infradead.org From: Krzysztof Kozlowski X-Enigmail-Draft-Status: N1110 Message-id: <560B2EA4.8050406@samsung.com> Date: Wed, 30 Sep 2015 09:36:52 +0900 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-version: 1.0 In-reply-to: <1443530546-3066-1-git-send-email-javier@osg.samsung.com> Content-type: text/plain; charset=windows-1252 Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFuplkeLIzCtJLcpLzFFi42I5/e/4Zd01etxhBjfbBCyaNxVbvHm7hsni 9QtDi/7Hr5kt3jzczGix6fE1VovLu+awWcw4v4/JYt3GW+wWty/zWqx+VmFx+zefA49HS3MP m8fOWXfZPTat6mTz2Lyk3qO3+R2bx5Z+oFDfllWMHptPV3t83iQXwBnFZZOSmpNZllqkb5fA lTFn1122goPcFRO+H2FtYNzN2cXIySEhYCJxZHc7O4QtJnHh3nq2LkYuDiGBpYwS/1b1sEI4 XxglVh7dyQRSJSwQKbH90XE2EFtEIFTi38XbjCC2kICrxIeHP9hBGpgFHjJJPDz3B6yBTcBY YvPyJWwQK+QkersnsYDYvAJaEl9vXmMFsVkEVCV23NsLNkhUIELi1Nm3bBA1ghI/Jt8Dq+cU cJNomXYNKM4BtEBP4v5FLZAws4C8xOY1b5knMArOQtIxC6FqFpKqBYzMqxhFU0uTC4qT0nMN 9YoTc4tL89L1kvNzNzFCIunLDsbFx6wOMQpwMCrx8L4Q4A4TYk0sK67MPcQowcGsJML7Xhso xJuSWFmVWpQfX1Sak1p8iFGag0VJnHfurvchQgLpiSWp2ampBalFMFkmDk6pBsYlc6dJLdO8 +4VL9+icD447ZCZ+UDRZY39j5Vfn6HfnV+/5G6Nq0qr7zDnTe0ZN2/GURzvO1ggzRdVf/ZqU mtllfjxUZkXlvwzvRwoWB/4bnDq1p3Z3xuc1a1cr3l1VJ8bErRUjvn/CP2lDk7C6gPevdus0 SXj1NuStvHZZuFuCUexg4DuzxDQlluKMREMt5qLiRACLyzRxoAIAAA== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 29.09.2015 21:42, Javier Martinez Canillas wrote: > The Marvell WiFi-Ex driver tries to load a firmware on probe. So if the > driver is built-in and probed before a firmware is available, this is > not loaded and the chip does not work. > > This happens for example if an initramfs isn't used since the driver is > probed before the root filesystem is mounted. > > Change the default config since the driver isn't needed for machines to > boot and is more convenient to have it enabled as a module to avoid > requiring an initramfs or to have the firmware built into the kernel. > > Signed-off-by: Javier Martinez Canillas > > --- > > arch/arm/configs/exynos_defconfig | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) The user-space can always initiate re-probing of device - just re-bind it. However I assume that driver cannot work without firmware? Best regards, Krzysztof > > diff --git a/arch/arm/configs/exynos_defconfig b/arch/arm/configs/exynos_defconfig > index d4f6063d8a72..5aad617f02c7 100644 > --- a/arch/arm/configs/exynos_defconfig > +++ b/arch/arm/configs/exynos_defconfig > @@ -64,8 +64,8 @@ CONFIG_SMSC911X=y > CONFIG_USB_USBNET=y > CONFIG_USB_NET_SMSC75XX=y > CONFIG_USB_NET_SMSC95XX=y > -CONFIG_MWIFIEX=y > -CONFIG_MWIFIEX_SDIO=y > +CONFIG_MWIFIEX=m > +CONFIG_MWIFIEX_SDIO=m > CONFIG_INPUT_EVDEV=y > CONFIG_KEYBOARD_GPIO=y > CONFIG_KEYBOARD_CROS_EC=y >