<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-stable.git/include/linux/i2c.h, branch linux-2.6.38.y</title>
<subtitle>Linux kernel stable tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/'/>
<entry>
<title>i2c: Constify i2c_client where possible</title>
<updated>2011-01-10T21:11:23+00:00</updated>
<author>
<name>Jean Delvare</name>
<email>khali@linux-fr.org</email>
</author>
<published>2011-01-10T21:11:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=0cc43a1806f078f7fd414850d8f1f1761696e4af'/>
<id>0cc43a1806f078f7fd414850d8f1f1761696e4af</id>
<content type='text'>
Helper functions for I2C and SMBus transactions don't modify the
i2c_client that is passed to them, so it can be marked const.

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Helper functions for I2C and SMBus transactions don't modify the
i2c_client that is passed to them, so it can be marked const.

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>i2c: Mark i2c_adapter.id as deprecated</title>
<updated>2010-11-15T21:40:38+00:00</updated>
<author>
<name>Jean Delvare</name>
<email>khali@linux-fr.org</email>
</author>
<published>2010-11-15T21:40:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=e1e18ee1cb58228a577668284c1dd03d859d7157'/>
<id>e1e18ee1cb58228a577668284c1dd03d859d7157</id>
<content type='text'>
It's about time to make it clear that i2c_adapter.id is deprecated.
Hopefully this will remind the last user to move over to a different
strategy.

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Acked-by: Jarod Wilson &lt;jarod@redhat.com&gt;
Acked-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
Acked-by: Hans Verkuil &lt;hverkuil@xs4all.nl&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It's about time to make it clear that i2c_adapter.id is deprecated.
Hopefully this will remind the last user to move over to a different
strategy.

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Acked-by: Jarod Wilson &lt;jarod@redhat.com&gt;
Acked-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
Acked-by: Hans Verkuil &lt;hverkuil@xs4all.nl&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>i2c: Drop unused I2C_CLASS_TV flags</title>
<updated>2010-10-31T20:06:59+00:00</updated>
<author>
<name>Jean Delvare</name>
<email>khali@linux-fr.org</email>
</author>
<published>2010-10-31T20:06:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=cbf4bd380a9caa72118525eabe7b82c6a3c8da78'/>
<id>cbf4bd380a9caa72118525eabe7b82c6a3c8da78</id>
<content type='text'>
There are no users left for I2C_CLASS_TV_ANALOG and
I2C_CLASS_TV_DIGITAL, so we can get rid of them.

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There are no users left for I2C_CLASS_TV_ANALOG and
I2C_CLASS_TV_DIGITAL, so we can get rid of them.

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>i2c: Let i2c_parent_is_i2c_adapter return the parent adapter</title>
<updated>2010-10-24T16:16:57+00:00</updated>
<author>
<name>Jean Delvare</name>
<email>khali@linux-fr.org</email>
</author>
<published>2010-10-24T16:16:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=97cc4d49cfcda1c2dad89c00b62a25b628ce2115'/>
<id>97cc4d49cfcda1c2dad89c00b62a25b628ce2115</id>
<content type='text'>
This makes the calling site's code clearer IMHO.

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Acked-by: Michael Lawnick &lt;ml.lawnick@gmx.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This makes the calling site's code clearer IMHO.

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Acked-by: Michael Lawnick &lt;ml.lawnick@gmx.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>i2c: Simplify i2c_parent_is_i2c_adapter</title>
<updated>2010-10-24T16:16:57+00:00</updated>
<author>
<name>Jean Delvare</name>
<email>khali@linux-fr.org</email>
</author>
<published>2010-10-24T16:16:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=d582963a027fd63f8dfc97a0bf3654d4380e34ce'/>
<id>d582963a027fd63f8dfc97a0bf3654d4380e34ce</id>
<content type='text'>
Only i2c devices can have their type set to i2c_adapter_type, so
testing the bus type is redundant.

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Cc: Michael Lawnick &lt;ml.lawnick@gmx.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Only i2c devices can have their type set to i2c_adapter_type, so
testing the bus type is redundant.

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Cc: Michael Lawnick &lt;ml.lawnick@gmx.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>i2c: Multiplexed I2C bus core support</title>
<updated>2010-08-11T16:21:02+00:00</updated>
<author>
<name>Michael Lawnick</name>
<email>ml.lawnick@gmx.de</email>
</author>
<published>2010-08-11T16:21:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=0826374bff57411d239f2fcb15da3c35af0a93cd'/>
<id>0826374bff57411d239f2fcb15da3c35af0a93cd</id>
<content type='text'>
Add multiplexed bus core support. I2C multiplexer and switches
like pca954x get instantiated as new adapters per port.

Signed-off-by: Michael Lawnick &lt;ml.lawnick@gmx.de&gt;
Acked-by: Rodolfo Giometti &lt;giometti@linux.it&gt;
Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add multiplexed bus core support. I2C multiplexer and switches
like pca954x get instantiated as new adapters per port.

Signed-off-by: Michael Lawnick &lt;ml.lawnick@gmx.de&gt;
Acked-by: Rodolfo Giometti &lt;giometti@linux.it&gt;
Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>i2c: Use a separate mutex for userspace client lists</title>
<updated>2010-08-11T16:21:01+00:00</updated>
<author>
<name>Jean Delvare</name>
<email>khali@linux-fr.org</email>
</author>
<published>2010-08-11T16:21:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=dafc50d141c27959dbd3a1cfe9857a86d23402a7'/>
<id>dafc50d141c27959dbd3a1cfe9857a86d23402a7</id>
<content type='text'>
Moving userspace-instantiated clients to separate lists wasn't nearly
enough to avoid deadlocks in multiplexed bus cases. We also want to
have a dedicated mutex to protect each list.

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Cc: Michael Lawnick &lt;ml.lawnick@gmx.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Moving userspace-instantiated clients to separate lists wasn't nearly
enough to avoid deadlocks in multiplexed bus cases. We also want to
have a dedicated mutex to protect each list.

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Cc: Michael Lawnick &lt;ml.lawnick@gmx.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>i2c: Move adapter locking helpers to i2c-core</title>
<updated>2010-08-11T16:20:58+00:00</updated>
<author>
<name>Jean Delvare</name>
<email>khali@linux-fr.org</email>
</author>
<published>2010-08-11T16:20:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=fe61e07e9ebc890c70d97a1f72ddaad4bee2d848'/>
<id>fe61e07e9ebc890c70d97a1f72ddaad4bee2d848</id>
<content type='text'>
Uninline i2c adapter locking helper functions, move them to i2c-core,
and use them in i2c-core itself. The functions are still exported for
external users. This makes future updates to the locking model (which
will be needed for multiplexing support) possible and transparent.

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Cc: Michael Lawnick &lt;ml.lawnick@gmx.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Uninline i2c adapter locking helper functions, move them to i2c-core,
and use them in i2c-core itself. The functions are still exported for
external users. This makes future updates to the locking model (which
will be needed for multiplexing support) possible and transparent.

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Cc: Michael Lawnick &lt;ml.lawnick@gmx.de&gt;
</pre>
</div>
</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='https://git.tavy.me/linux-stable.git/commit/?id=d44f19d586b6113fb5db10e1a36457f0db3b01aa'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
</pre>
</div>
</content>
</entry>
<entry>
<title>i2c: Add support for custom probe function</title>
<updated>2010-08-11T16:20:56+00:00</updated>
<author>
<name>Jean Delvare</name>
<email>khali@linux-fr.org</email>
</author>
<published>2010-08-11T16:20:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=9a94241afcc9a481691a9c29b7460217925b59b8'/>
<id>9a94241afcc9a481691a9c29b7460217925b59b8</id>
<content type='text'>
The probe method used by i2c_new_probed_device() may not be suitable
for all cases. Let the caller provide its own, optional probe
function.

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Acked-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The probe method used by i2c_new_probed_device() may not be suitable
for all cases. Let the caller provide its own, optional probe
function.

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Acked-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
