<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lwn.git/drivers/media/video/cx88/cx88-i2c.c, branch v3.4.74</title>
<subtitle>Linux kernel documentation tree maintained by Jonathan Corbet</subtitle>
<id>http://mirrors.hust.edu.cn/git/lwn.git/atom?h=v3.4.74</id>
<link rel='self' href='http://mirrors.hust.edu.cn/git/lwn.git/atom?h=v3.4.74'/>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/'/>
<updated>2011-11-24T17:11:17+00:00</updated>
<entry>
<title>[media] video: Drop undue references to i2c-algo-bit</title>
<updated>2011-11-24T17:11:17+00:00</updated>
<author>
<name>Jean Delvare</name>
<email>khali@linux-fr.org</email>
</author>
<published>2011-11-09T16:27:53+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=a824f0f445ad2c86a40b4bf43acba26dfd0a98a9'/>
<id>urn:sha1:a824f0f445ad2c86a40b4bf43acba26dfd0a98a9</id>
<content type='text'>
There's one comment that has been copied from bttv to many other
media/video drivers:

/* init + register i2c algo-bit adapter */

Meanwhile, many drivers use hardware I2C implementations instead of
relying on i2c-algo-bit, so this comment is misleading. Remove the
reference to "algo-bit" from all drivers, to avoid any confusion. This
is the best way to ensure that the comments won't go out of sync
again. Anyone interested in the implementation details would rather
look at the code itself.

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>[media] cx88: Remove the obsolete i2c_adapter.id field</title>
<updated>2010-12-30T14:17:19+00:00</updated>
<author>
<name>Mauro Carvalho Chehab</name>
<email>mchehab@redhat.com</email>
</author>
<published>2010-12-30T12:05:12+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=6a23a520c07ba556ea2317b1f72f3d2eb002f991'/>
<id>urn:sha1:6a23a520c07ba556ea2317b1f72f3d2eb002f991</id>
<content type='text'>
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>V4L/DVB: Remove the usage of I2C_HW_B_CX2388x on ir-kbd-i2c.c</title>
<updated>2010-10-21T03:06:07+00:00</updated>
<author>
<name>Mauro Carvalho Chehab</name>
<email>mchehab@redhat.com</email>
</author>
<published>2010-09-23T03:51:44+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=44243fc2ef99948bc9b046901880885616dd5e89'/>
<id>urn:sha1:44243fc2ef99948bc9b046901880885616dd5e89</id>
<content type='text'>
Move the cx88 specific initialization for Hauppauge XVR remotes
into cx88-input, removing the need for test it inside ir-kbd-i2c.

The reference at cx88 for this symbol, at:

drivers/media/video/cx88/cx88-i2c.c:    core-&gt;i2c_adap.id = I2C_HW_B_CX2388x;
drivers/media/video/cx88/cx88-vp3054-i2c.c:     vp3054_i2c-&gt;adap.id = I2C_HW_B_CX2388x;

Can't be removed yet, since lirc-i2c still uses it.

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>V4L/DVB: drivers/media: Make static data tables and strings const</title>
<updated>2010-10-21T03:04:52+00:00</updated>
<author>
<name>lawrence rust</name>
<email>lawrence@softsystem.co.uk</email>
</author>
<published>2010-08-25T12:50:20+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=2e4e98e788d8fbe30892bee3375067a4937155da'/>
<id>urn:sha1:2e4e98e788d8fbe30892bee3375067a4937155da</id>
<content type='text'>
Making static data const avoids allocation of additional r/w memory and
reduces initialisation time.  It also provides some additional opportunities
for compiler optimisations.

Signed-off-by: Lawrence Rust &lt;lvr@softsystem.co.uk&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>V4L/DVB: Use custom I2C probing function mechanism</title>
<updated>2010-08-11T16:20:57+00:00</updated>
<author>
<name>Jean Delvare</name>
<email>khali@linux-fr.org</email>
</author>
<published>2010-08-11T16:20:57+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=d44f19d586b6113fb5db10e1a36457f0db3b01aa'/>
<id>urn:sha1:d44f19d586b6113fb5db10e1a36457f0db3b01aa</id>
<content type='text'>
Now that i2c-core offers the possibility to provide custom probing
function for I2C devices, let's make use of it.

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Acked-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>V4L/DVB: cx88: Move I2C IR initialization</title>
<updated>2010-08-02T18:32:25+00:00</updated>
<author>
<name>Jean Delvare</name>
<email>khali@linux-fr.org</email>
</author>
<published>2010-06-28T15:55:43+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=15ceb6b1c30ea40bdbe6a6246e2468d9bab375f5'/>
<id>urn:sha1:15ceb6b1c30ea40bdbe6a6246e2468d9bab375f5</id>
<content type='text'>
Move I2C IR initialization from just after I2C bus setup to right
before non-I2C IR initialization. This is the same as was done for
the bttv driver several months ago. Might solve bugs which have not yet
been reported for some cards. It makes both drivers consistent, and
makes it easier to disable IR support (coming soon.)

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>V4L/DVB: FusionHDTV: Use quick reads for I2C IR device probing</title>
<updated>2010-06-01T04:23:19+00:00</updated>
<author>
<name>Jean Delvare</name>
<email>khali@linux-fr.org</email>
</author>
<published>2010-05-26T13:05:11+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=806b07c29b711aaf90c81d2a19711607769f8246'/>
<id>urn:sha1:806b07c29b711aaf90c81d2a19711607769f8246</id>
<content type='text'>
IR support on FusionHDTV cards is broken since kernel 2.6.31. One side
effect of the switch to the standard binding model for IR I2C devices
was to let i2c-core do the probing instead of the ir-kbd-i2c driver.
There is a slight difference between the two probe methods: i2c-core
uses 0-byte writes, while the ir-kbd-i2c was using 0-byte reads. As
some IR I2C devices only support reads, the new probe method fails to
detect them.

For now, revert to letting the driver do the probe, using 0-byte
reads. In the future, i2c-core will be extended to let callers of
i2c_new_probed_device() provide a custom probing function.

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Tested-by: "Timothy D. Lenz" &lt;tlenz@vorgon.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>V4L/DVB (11844): ir-kbd-i2c: Switch to the new-style device binding model</title>
<updated>2009-06-16T21:21:11+00:00</updated>
<author>
<name>Jean Delvare</name>
<email>khali@linux-fr.org</email>
</author>
<published>2009-05-13T19:48:50+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=c668f32dca105d876e51862a003a302fa61e4ae4'/>
<id>urn:sha1:c668f32dca105d876e51862a003a302fa61e4ae4</id>
<content type='text'>
Let card drivers probe for IR receiver devices and instantiate them if
found. Ultimately it would be better if we could stop probing
completely, but I suspect this won't be possible for all card types.

There's certainly room for cleanups. For example, some drivers are
sharing I2C adapter IDs, so they also had to share the list of I2C
addresses being probed for an IR receiver. Now that each driver
explicitly says which addresses should be probed, maybe some addresses
can be dropped from some drivers.

Also, the special cases in saa7134-i2c should probably be handled on a
per-board basis. This would be more efficient and less risky than always
probing extra addresses on all boards. I'll give it a try later.

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>V4L/DVB (11300): cx88: convert to v4l2_subdev.</title>
<updated>2009-03-30T15:43:48+00:00</updated>
<author>
<name>Hans Verkuil</name>
<email>hverkuil@xs4all.nl</email>
</author>
<published>2009-03-29T11:26:01+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=b8341e1d2acadf3935fb299a325f569a1c20daa6'/>
<id>urn:sha1:b8341e1d2acadf3935fb299a325f569a1c20daa6</id>
<content type='text'>
Convert cx88 to use v4l2_subdev since the old i2c autoprobing mechanism
will be removed.

Added code to explicitly load tvaudio where needed. Also fix the rtc-isl1208
support: since that driver no longer supports autoprobing it has to be
loaded using the new i2c API.

Signed-off-by: Hans Verkuil &lt;hverkuil@xs4all.nl&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>V4L/DVB (11047): cx88: convert to v4l2_device.</title>
<updated>2009-03-30T15:43:23+00:00</updated>
<author>
<name>Hans Verkuil</name>
<email>hverkuil@xs4all.nl</email>
</author>
<published>2009-03-14T15:40:51+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=9467fe126451c7fc7878d21f3cd1938421ef972e'/>
<id>urn:sha1:9467fe126451c7fc7878d21f3cd1938421ef972e</id>
<content type='text'>
Signed-off-by: Hans Verkuil &lt;hverkuil@xs4all.nl&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
</feed>
