From: "Bjørn Mork" <bjorn@mork.no>
To: Antti Palosaari <crope@iki.fi>
Cc: Steve Kerrison <steve@stevekerrison.com>, linux-media@vger.kernel.org
Subject: Re: [bug-report] unconditionally calling cxd2820r_get_tuner_i2c_adapter() from em28xx-dvb.c creates a hard module dependency
Date: Fri, 03 Jun 2011 14:50:25 +0200 [thread overview]
Message-ID: <87hb87xeni.fsf@nemi.mork.no> (raw)
In-Reply-To: <4DE8D1E6.4000300@iki.fi> (Antti Palosaari's message of "Fri, 03 Jun 2011 15:21:58 +0300")
Antti Palosaari <crope@iki.fi> writes:
> There is some other FEs having also I2C adapter, I wonder how those
> handle this situation. I looked example from cx24123 and s5h1420
> drivers, both used by flexcop.
>
> Did you see what is magic used those devices?
None. They have the same problem, creating hard module dependencies
even if they use dvb_attach() and CONFIG_MEDIA_ATTACH is set:
bjorn@canardo:~$ modinfo b2c2-flexcop
filename: /lib/modules/2.6.32-5-amd64/kernel/drivers/media/dvb/b2c2/b2c2-flexcop.ko
license: GPL
description: B2C2 FlexcopII/II(b)/III digital TV receiver chip
author: Patrick Boettcher <patrick.boettcher@desy.de
depends: s5h1420,dvb-core,cx24113,cx24123,i2c-core
vermagic: 2.6.32-5-amd64 SMP mod_unload modversions
parm: debug:set debug level (1=info,2=tuner,4=i2c,8=ts,16=sram,32=reg (|-able)). (debugging is not enabled) (int)
parm: adapter_nr:DVB adapter numbers (array of short)
This probably means that a generic i2c_tuner wrapper, similar to
dvb_attach, would be useful.
Bjørn
next prev parent reply other threads:[~2011-06-03 12:50 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-01 9:45 [bug-report] unconditionally calling cxd2820r_get_tuner_i2c_adapter() from em28xx-dvb.c creates a hard module dependency Bjørn Mork
2011-06-01 9:49 ` Antti Palosaari
2011-06-01 10:31 ` Bjørn Mork
2011-06-01 10:53 ` Bjørn Mork
2011-06-01 17:18 ` Bjørn Mork
2011-06-03 12:21 ` Antti Palosaari
2011-06-03 12:50 ` Bjørn Mork [this message]
2011-06-03 12:59 ` Antti Palosaari
2011-06-03 13:20 ` Bjørn Mork
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=87hb87xeni.fsf@nemi.mork.no \
--to=bjorn@mork.no \
--cc=crope@iki.fi \
--cc=linux-media@vger.kernel.org \
--cc=steve@stevekerrison.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox