All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Cameron <Jonathan.Cameron@gmail.com>
To: video4linux-list@redhat.com, LKML <linux-kernel@vger.kernel.org>
Subject: media/common/tuner selection when using a webcam and i2c
Date: Thu, 30 Oct 2008 19:58:19 +0000	[thread overview]
Message-ID: <490A11DB.3060703@gmail.com> (raw)

Dear All,

I've been trying to track down why when I enable i2c (for some embedded
sensors)
and the options required to get a v4l gspca camera I end up with a lot
of unnecessary tuner modues.

It looks to me like some false assumptions are being made within the Kconfig
files.

VIDEO_MEDIA gets enabled as VIDEO_DEV is and DVB_CORE is not.
(in media/Kconfig)

and i2c is enabled because I'm using it for numerous other things.

Thus, the

config MEDIA_TUNER
       tristate
       defaults VIDEO_MEDIA && I2C
       depends on VIDEO_MEDIA && I2C
       select MEDIA_TUNER_XC2028 if !MEDIA_TUNER_CUSTOMIZE

enables a lot of tuner drivers.

Now once I'd figured out what was happening it is clear these
can be disabled by using menuconfig MEDIA_TUNER_CUSTOMIZE.

However, to me the fact I needed to do this suggests some false assumptions
in the media Kconfig files, given I never specified anything that would
ever actually have a tuner.

Jonathan Cameron


                 reply	other threads:[~2008-10-30 19:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=490A11DB.3060703@gmail.com \
    --to=jonathan.cameron@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=video4linux-list@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.