Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753899Ab2EYPEX (ORCPT ); Fri, 25 May 2012 11:04:23 -0400 Received: from mail-gw-out1.cc.tut.fi ([130.230.160.32]:49905 "EHLO mail-gw-out1.cc.tut.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750864Ab2EYPEW (ORCPT ); Fri, 25 May 2012 11:04:22 -0400 X-Greylist: delayed 901 seconds by postgrey-1.27 at vger.kernel.org; Fri, 25 May 2012 11:04:21 EDT X-AuditID: 82e6a020-b7fbb6d000000ab8-b1-4fbf9beef93a Message-ID: <4FBF9BE8.3020300@iki.fi> Date: Fri, 25 May 2012 17:49:12 +0300 From: Anssi Hannula User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.4) Gecko/20120426 Thunderbird/10.0.4 MIME-Version: 1.0 To: Mauro Carvalho Chehab CC: Linus Torvalds , Andrew Morton , Linux Media Mailing List , Linux Kernel Mailing List Subject: Re: [GIT PULL for v3.5-rc1] media updates for v3.5 References: <4FBE5518.5090705@redhat.com> <4FBEB72D.4040905@redhat.com> <4FBF773B.10408@redhat.com> In-Reply-To: <4FBF773B.10408@redhat.com> X-Enigmail-Version: 1.4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrKIsWRmVeSWpSXmKPExsXS9GyRiO672fv9Db5uELSYs34Nm8XlXXPY LHo2bGW12HP0MLvFo7637A6sHidm/GbxeL/vKpvH501yAcxRXDYpqTmZZalF+nYJXBn3n19i KZgjXnHz3ET2BsYTQl2MnBwSAiYSxxf1sELYYhIX7q1n62Lk4hAS2McocflGDxtIQkjgEKNE /35LEJtXQFXi0vY5TCA2C5B9d/FSFhCbTUBLouHqQvYuRg4OUYEIifnPIiHKBSVOznzCAhIW EdCT6GoSABnPLHCdUeJt23FGkBphAWuJ/X//skLsfcsocW7yerCZnAIaEiuOnWOBOE5cYvn2 12A2s4COxLu+B8wQtrzE9rdzmCcwCs5Csm8WkrJZSMoWMDKvYhTLTczM0U0v180vLTHUS07W Kykt0UvL3MQIDusFCjsYX07TP8QowMGoxMPLEL3PX4g1say4MvcQoyQHk5IobyEwKoT4kvJT KjMSizPii0pzUouBIcTBrCTCy5IGlONNSaysSi3Kh0nJcHAoSfAWgbQJFqWmp1akZeYAoxcm zcTBCdLOA9ReCVLDW1yQmFucmQ6RP8WoKCXOawWSEABJZJTmwfWCUkfumQktrxjFgY4V5q0A qeIBph247ldAg5mABm95vBdkcEkiQkqqgdGpqfbn2h3pafExWw/kLJZRcFffIfhiiWF35uUf vUtdNHvZLzLxGJwXNVtSkC92ZmaFzVSPiK1RvzdaXP7EKVyab+7KdHFvu+SRWeHTj/1xmXzg SwGrpFd+9idl60UqMx598nluvfDn56m7OR5k2fgXbj+u94B7BlPm3D13sv6lHX5VwG13SV+J pTgj0VCLuag4EQBWHEjE+AIAAA== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3131 Lines: 91 25.05.2012 15:12, Mauro Carvalho Chehab kirjoitti: > Em 24-05-2012 19:40, Linus Torvalds escreveu: >> On Thu, May 24, 2012 at 3:33 PM, Mauro Carvalho Chehab >> wrote: >>> >>> The Kconfig default for DVB_FE_CUSTOMISE is 'n'. So, if no DVB bridge is selected, >>> nothing will be compiled. >> >> Sadly, it looks like the default for distro kernels is 'y'. > > I'll change the default on Fedora (f16/f17/rawhide). > >> Which means that if you start with a distro kernel config, and then >> try to cut it down to match your system, you end up screwed in the >> future - all the new hardware will default to on. >> >> At least that's how I noticed it. Very annoying. > > A simple way to solve it seems to make those options dependent on CONFIG_EXPERT. > > Not sure if all usual distributions disable it, but I guess most won't have > EXPERT enabled. > > The enclosed patch does that. If nobody complains, I'll submit it together > with the next git pull request. > > Regards, > Mauro > > - > > [RFC PATCH] Make tuner/frontend options dependent on EXPERT > > The media CUSTOMISE options are there to allow embedded systems and advanced > users to disable tuner/frontends that are supported by a bridge driver to > be disabled, in order to save some disk space and memory, when compiled builtin. > > However, distros are mistakenly enabling it, causing problems when a > make oldconfig is used. > > Make those options dependent on EXPERT, in order to avoid such annoyance behavior. > > Signed-off-by: Mauro Carvalho Chehab > > diff --git a/drivers/media/common/tuners/Kconfig b/drivers/media/common/tuners/Kconfig > index bbf4945..702a3bf 100644 > --- a/drivers/media/common/tuners/Kconfig > +++ b/drivers/media/common/tuners/Kconfig > @@ -35,6 +35,7 @@ config MEDIA_TUNER > config MEDIA_TUNER_CUSTOMISE > bool "Customize analog and hybrid tuner modules to build" > depends on MEDIA_TUNER > + depends on EXPERT > default y if EXPERT ^^^^^^^^^^^^^^^^^^^ Hmm, why should CONFIG_EXPERT automatically mean that the tuner modules should be customized? I'd think this shouldn't default to y even with EXPERT. Not a biggie, just thought I'd point it out :) (as a sidenote, on Mageia kernels CONFIG_EXPERT is on... didn't check why, could be just historical reasons) > help > This allows the user to deselect tuner drivers unnecessary > diff --git a/drivers/media/dvb/frontends/Kconfig b/drivers/media/dvb/frontends/Kconfig > index b98ebb2..6d3c2f7 100644 > --- a/drivers/media/dvb/frontends/Kconfig > +++ b/drivers/media/dvb/frontends/Kconfig > @@ -1,6 +1,7 @@ > config DVB_FE_CUSTOMISE > bool "Customise the frontend modules to build" > depends on DVB_CORE > + depends on EXPERT > default y if EXPERT Ditto. > help > This allows the user to select/deselect frontend drivers for their -- Anssi Hannula -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/