[linux-sunxi] Re: [PATCH 1/5] ARM: sunxi: Add driver for SD/MMC hosts found on Allwinner sunxi SoCs
Maxime Ripard
maxime.ripard at free-electrons.com
Mon Dec 16 07:53:06 EST 2013
On Mon, Dec 16, 2013 at 12:59:31PM +0100, Michal Suchanek wrote:
> On 16 December 2013 11:05, Maxime Ripard
> <maxime.ripard at free-electrons.com> wrote:
> > On Sun, Dec 15, 2013 at 11:01:17PM +0100, Michal Suchanek wrote:
> >> On 15 December 2013 14:44, Maxime Ripard
> >> <maxime.ripard at free-electrons.com> wrote:
> >> >> --- a/drivers/mmc/host/Kconfig
> >> >> +++ b/drivers/mmc/host/Kconfig
> >> >> @@ -665,3 +665,11 @@ config MMC_REALTEK_PCI
> >> >> help
> >> >> Say Y here to include driver code to support SD/MMC card interface
> >> >> of Realtek PCI-E card reader
> >> >> +
> >> >> +config MMC_SUNXI
> >> >> + tristate "Allwinner sunxi SD/MMC Host Controller support"
> >> >> + depends on ARCH_SUNXI
> >> >> + default y
> >> >
> >> > I'm not that fond of these "default y" patterns. It forces the driver
> >> > down to every user of the multiplatform kernels. I'd suggest removing
> >> > the default and adding the driver to the defconfigs we have.
> >>
> >> And why would you build support for sunxi without building support for
> >> sunxi mmc?
> >
> > Because you can?
>
> But does that need to be the default? And is that sane default?
>
> >
> > And where am I actually suggesting to do so?
>
> Just a few lines above. You suggest it should not be built by default.
No, this is not what I'm saying. I'm saying that this default should
be enforced at the defconfig level, and not at the Kconfig level.
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20131216/bb3f54ed/attachment.sig>
More information about the linux-arm-kernel
mailing list