<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/i2c/i2c-core.c, branch linux-3.6.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.6.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.6.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2012-09-10T08:14:02Z</updated>
<entry>
<title>i2c-core: Fix for lockdep validator</title>
<updated>2012-09-10T08:14:02Z</updated>
<author>
<name>Jean Delvare</name>
</author>
<published>2012-09-10T08:14:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=390946b17260797635cd9e65496b5a17b2db0a5d'/>
<id>urn:sha1:390946b17260797635cd9e65496b5a17b2db0a5d</id>
<content type='text'>
If kernel is compiled with CONFIG_PROVE_LOCKING the
validator raises an error when a multiplexer is removed
via sysfs and sub-clients are connected to it. This is a
false positive.
Documentation/lockdep-design.txt recommends to handle this
via calls to mutex_lock_nested().

Based on an earlier fix from Michael Lawnick.

Note that the extra code resolves to nothing unless
CONFIG_DEBUG_LOCK_ALLOC=y.

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Cc: Michael Lawnick &lt;ml.lawnick@gmx.de&gt;
</content>
</entry>
<entry>
<title>Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media</title>
<updated>2012-07-31T02:03:41Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2012-07-31T02:03:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6df419e45d71b8d9a0de8e92a1212bbea460f0e0'/>
<id>urn:sha1:6df419e45d71b8d9a0de8e92a1212bbea460f0e0</id>
<content type='text'>
Pull media updates from Mauro Carvalho Chehab:
 "This is the first part of the media patches for v3.6.

  This patch series contain:
   - new DVB frontend: rtl2832
   - new video drivers: adv7393
   - some unused files got removed
   - a selection API cleanup between V4L2 and V4L2 subdev API's
   - a major redesign at v4l-ioctl2, in order to clean it up
   - several driver fixes and improvements."

* 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (174 commits)
  v4l: Export v4l2-common.h in include/linux/Kbuild
  media: Revert "[media] Terratec Cinergy S2 USB HD Rev.2"
  [media] media: Use pr_info not homegrown pr_reg macro
  [media] Terratec Cinergy S2 USB HD Rev.2
  [media] v4l: Correct conflicting V4L2 subdev selection API documentation
  [media] Feature removal: V4L2 selections API target and flag definitions
  [media] v4l: Unify selection flags documentation
  [media] v4l: Unify selection flags
  [media] v4l: Common documentation for selection targets
  [media] v4l: Unify selection targets across V4L2 and V4L2 subdev interfaces
  [media] v4l: Remove "_ACTUAL" from subdev selection API target definition names
  [media] V4L: Remove "_ACTIVE" from the selection target name definitions
  [media] media: dvb-usb: print mac address via native %pM
  [media] s5p-tv: Use module_i2c_driver in sii9234_drv.c file
  [media] media: gpio-ir-recv: add allowed_protos for platform data
  [media] s5p-jpeg: Use module_platform_driver in jpeg-core.c file
  [media] saa7134: fix spelling of detach in label
  [media] cx88-blackbird: replace ioctl by unlocked_ioctl
  [media] cx88: don't use current_norm
  [media] cx88: fix a number of v4l2-compliance violations
  ...
</content>
</entry>
<entry>
<title>i2c: Fall back to emulated SMBus if the operation isn't supported natively</title>
<updated>2012-07-24T12:13:59Z</updated>
<author>
<name>Laurent Pinchart</name>
</author>
<published>2012-07-24T12:13:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=72fc2c7f78b0c365454e60ad33b0e74aea43e3ab'/>
<id>urn:sha1:72fc2c7f78b0c365454e60ad33b0e74aea43e3ab</id>
<content type='text'>
Adapter drivers might support only a subset of the SMBus operations
natively. Those drivers currently have to manually emulate unsupported
operations using I2C.

Make the i2c_smbus_xfer() function fall back to
i2c_smbus_xfer_emulated() when the adapter's .smbus_xfer() operation
returns -EOPNOTSUPP, like it already does when the .smbus_xfer()
operation isn't available at all.

[JD: Minor optimization.]

Signed-off-by: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
</content>
</entry>
<entry>
<title>i2c: Add SCCB support</title>
<updated>2012-07-24T12:13:59Z</updated>
<author>
<name>Laurent Pinchart</name>
</author>
<published>2012-07-24T12:13:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d47726c52122d64253ae56e0fafdb7d0b954e97c'/>
<id>urn:sha1:d47726c52122d64253ae56e0fafdb7d0b954e97c</id>
<content type='text'>
SCCB is a serial communication bus developed by Omnivision. Its 2-wire
mode is very similar to SMBus byte data transactions, but requires the
controller to ignore the ACK bit and to insert a stop condition after
each message.

Add a device SCCB flag and a message stop flag to be passed to
controller drivers.

[JD: Kill rogue definition in go7007 driver.]

Signed-off-by: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
</content>
</entry>
<entry>
<title>[media] i2c: Export an unlocked flavor of i2c_transfer</title>
<updated>2012-06-29T22:03:25Z</updated>
<author>
<name>Jean Delvare</name>
</author>
<published>2012-06-29T10:47:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b37d2a3a75cb0e72e18c29336cb2095b63dabfc8'/>
<id>urn:sha1:b37d2a3a75cb0e72e18c29336cb2095b63dabfc8</id>
<content type='text'>
Some drivers (in particular for TV cards) need exclusive access to
their I2C buses for specific operations. Export an unlocked flavor
of i2c_transfer to give them full control.

The unlocked flavor has the following limitations:
* Obviously, caller must hold the i2c adapter lock.
* No debug messages are logged. We don't want to log messages while
  holding a rt_mutex.
* No check is done on the existence of adap-&gt;algo-&gt;master_xfer. It
  is thus the caller's responsibility to ensure that the function is
  OK to call.

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>i2c: implement i2c_verify_adapter</title>
<updated>2012-05-12T12:28:16Z</updated>
<author>
<name>Stephen Warren</name>
</author>
<published>2012-04-17T18:43:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=643dd09eb27b40ced671564edbe2640935fe37c2'/>
<id>urn:sha1:643dd09eb27b40ced671564edbe2640935fe37c2</id>
<content type='text'>
This converts a struct device * to a struct i2c_adapter * while verifying
that the device really is an I2C adapter. Just like i2c_verify_client.

Signed-off-by: Stephen Warren &lt;swarren@nvidia.com&gt;
Acked-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Signed-off-by: Wolfram Sang &lt;w.sang@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>i2c: Update the FSF address</title>
<updated>2012-03-26T19:47:19Z</updated>
<author>
<name>Jean Delvare</name>
</author>
<published>2012-03-26T19:47:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5694f8a888f8f69a562e4cf939eed81ca7a5ecf2'/>
<id>urn:sha1:5694f8a888f8f69a562e4cf939eed81ca7a5ecf2</id>
<content type='text'>
Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
</content>
</entry>
<entry>
<title>i2c-core: Comment says "transmitted" but means "received"</title>
<updated>2012-03-15T17:11:05Z</updated>
<author>
<name>Wolfram Sang</name>
</author>
<published>2012-03-15T17:11:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=834aa6f30c2f5f5ab7c858e37800c1a19dfde2fb'/>
<id>urn:sha1:834aa6f30c2f5f5ab7c858e37800c1a19dfde2fb</id>
<content type='text'>
Fix that. Also convert this and the related comment to proper commenting
style.

Signed-off-by: Wolfram Sang &lt;w.sang@pengutronix.de&gt;
Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
</content>
</entry>
<entry>
<title>i2c: Fix device name for 10-bit slave address</title>
<updated>2011-11-23T10:33:07Z</updated>
<author>
<name>Jean Delvare</name>
</author>
<published>2011-11-23T10:33:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cbb44514048a250647c6c6b3df27ff62cb71f7d5'/>
<id>urn:sha1:cbb44514048a250647c6c6b3df27ff62cb71f7d5</id>
<content type='text'>
10-bit addresses overlap with traditional 7-bit addresses, leading in
device name collisions. Add an arbitrary offset to 10-bit addresses to
prevent this collision. The offset was chosen so that the address is
still easily recognizable.

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Acked-by: Wolfram Sang &lt;w.sang@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>i2c: Allow i2c_add_numbered_adapter() to assign a bus id</title>
<updated>2011-07-25T15:49:43Z</updated>
<author>
<name>Grant Likely</name>
</author>
<published>2011-07-25T15:49:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=488bf314bf219c66922305a1a320950efa86662f'/>
<id>urn:sha1:488bf314bf219c66922305a1a320950efa86662f</id>
<content type='text'>
Currently, if an i2c bus driver supports both static and dynamic bus
ids, it needs to choose between calling i2c_add_numbered_adapter() and
i2c_add_adapter().  This patch makes i2c_add_numbered_adapter()
redirect to i2c_add_adapter() if the requested bus id is -1.

Signed-off-by: Grant Likely &lt;grant.likely@secretlab.ca&gt;
Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
</content>
</entry>
</feed>
