<feed xmlns='http://www.w3.org/2005/Atom'>
<title>litmus-rt.git/drivers/i2c, branch wip-budget</title>
<subtitle>The LITMUS^RT kernel.</subtitle>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/litmus-rt.git/'/>
<entry>
<title>Merge branch 'i2c-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging</title>
<updated>2009-11-30T22:50:44+00:00</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2009-11-30T22:50:44+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/litmus-rt.git/commit/?id=af5fdf80645304e7077ab876a43b325425c7ef70'/>
<id>af5fdf80645304e7077ab876a43b325425c7ef70</id>
<content type='text'>
* 'i2c-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging:
  at24: Use timeout also for read
  i2c: Fix userspace_device list corruption
  MAINTAINERS: Add missing i2c files
  i2c/tsl2550: Fix lux value in extended mode
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* 'i2c-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging:
  at24: Use timeout also for read
  i2c: Fix userspace_device list corruption
  MAINTAINERS: Add missing i2c files
  i2c/tsl2550: Fix lux value in extended mode
</pre>
</div>
</content>
</entry>
<entry>
<title>i2c: Fix userspace_device list corruption</title>
<updated>2009-11-26T08:22:33+00:00</updated>
<author>
<name>Jean Delvare</name>
<email>khali@linux-fr.org</email>
</author>
<published>2009-11-26T08:22:33+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/litmus-rt.git/commit/?id=bbd2d9c9198c6efd449e9d395b3eaf2d03aa3bba'/>
<id>bbd2d9c9198c6efd449e9d395b3eaf2d03aa3bba</id>
<content type='text'>
Fix userspace_device list corruption. The corruption was caused by
clients not being removed when adapters with such clients were
themselves removed. Something like the following would trigger it
(assuming i2c-stub gets adapter number 3):

# modprobe i2c-stub chip_addr=0x50
# echo 24c08 0x50 &gt; /sys/bus/i2c/devices/i2c-3/new_device 
# rmmod i2c-stub
# modprobe i2c-stub chip_addr=0x50
# echo 24c08 0x50 &gt; /sys/bus/i2c/devices/i2c-3/new_device 

For the records, the stack trace in the kernel logs look like this:

kernel: WARNING: at lib/list_debug.c:30 __list_add+0x8b/0x90()
kernel: Hardware name: (...)
kernel: list_add corruption. prev-&gt;next should be next (c137fc84), but was (null). (prev=f57111b8).
kernel: Modules linked in: (...)
kernel: Pid: 4669, comm: bash Not tainted 2.6.32-rc8 #259
kernel: Call Trace:
kernel:  [&lt;c111eb8b&gt;] ? __list_add+0x8b/0x90
kernel:  [&lt;c111eb8b&gt;] ? __list_add+0x8b/0x90
kernel:  [&lt;c103265c&gt;] warn_slowpath_common+0x6c/0xc0
kernel:  [&lt;c111eb8b&gt;] ? __list_add+0x8b/0x90
kernel:  [&lt;c10326f6&gt;] warn_slowpath_fmt+0x26/0x30
kernel:  [&lt;c111eb8b&gt;] __list_add+0x8b/0x90
kernel:  [&lt;c11ba165&gt;] i2c_sysfs_new_device+0x1c5/0x250
kernel:  [&lt;c10861be&gt;] ? might_fault+0x2e/0x80
kernel:  [&lt;c11b9fa0&gt;] ? i2c_sysfs_new_device+0x0/0x250
kernel:  [&lt;c118c625&gt;] dev_attr_store+0x25/0x30
kernel:  [&lt;c10e305c&gt;] sysfs_write_file+0x9c/0xf0
kernel:  [&lt;c109d35c&gt;] vfs_write+0x9c/0x160
kernel:  [&lt;c10e2fc0&gt;] ? sysfs_write_file+0x0/0xf0
kernel:  [&lt;c109d4dd&gt;] sys_write+0x3d/0x70
kernel:  [&lt;c1002ed8&gt;] sysenter_do_call+0x12/0x36

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix userspace_device list corruption. The corruption was caused by
clients not being removed when adapters with such clients were
themselves removed. Something like the following would trigger it
(assuming i2c-stub gets adapter number 3):

# modprobe i2c-stub chip_addr=0x50
# echo 24c08 0x50 &gt; /sys/bus/i2c/devices/i2c-3/new_device 
# rmmod i2c-stub
# modprobe i2c-stub chip_addr=0x50
# echo 24c08 0x50 &gt; /sys/bus/i2c/devices/i2c-3/new_device 

For the records, the stack trace in the kernel logs look like this:

kernel: WARNING: at lib/list_debug.c:30 __list_add+0x8b/0x90()
kernel: Hardware name: (...)
kernel: list_add corruption. prev-&gt;next should be next (c137fc84), but was (null). (prev=f57111b8).
kernel: Modules linked in: (...)
kernel: Pid: 4669, comm: bash Not tainted 2.6.32-rc8 #259
kernel: Call Trace:
kernel:  [&lt;c111eb8b&gt;] ? __list_add+0x8b/0x90
kernel:  [&lt;c111eb8b&gt;] ? __list_add+0x8b/0x90
kernel:  [&lt;c103265c&gt;] warn_slowpath_common+0x6c/0xc0
kernel:  [&lt;c111eb8b&gt;] ? __list_add+0x8b/0x90
kernel:  [&lt;c10326f6&gt;] warn_slowpath_fmt+0x26/0x30
kernel:  [&lt;c111eb8b&gt;] __list_add+0x8b/0x90
kernel:  [&lt;c11ba165&gt;] i2c_sysfs_new_device+0x1c5/0x250
kernel:  [&lt;c10861be&gt;] ? might_fault+0x2e/0x80
kernel:  [&lt;c11b9fa0&gt;] ? i2c_sysfs_new_device+0x0/0x250
kernel:  [&lt;c118c625&gt;] dev_attr_store+0x25/0x30
kernel:  [&lt;c10e305c&gt;] sysfs_write_file+0x9c/0xf0
kernel:  [&lt;c109d35c&gt;] vfs_write+0x9c/0x160
kernel:  [&lt;c10e2fc0&gt;] ? sysfs_write_file+0x0/0xf0
kernel:  [&lt;c109d4dd&gt;] sys_write+0x3d/0x70
kernel:  [&lt;c1002ed8&gt;] sysenter_do_call+0x12/0x36

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>i2c/tsl2550: Fix lux value in extended mode</title>
<updated>2009-11-26T08:22:32+00:00</updated>
<author>
<name>Michele Jr De Candia</name>
<email>michele.decandia@valueteam.com</email>
</author>
<published>2009-11-26T08:22:32+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/litmus-rt.git/commit/?id=5f5bfb09d81c9a1d26238ae6668e584c14ae3daf'/>
<id>5f5bfb09d81c9a1d26238ae6668e584c14ae3daf</id>
<content type='text'>
According to the TAOS Application Note 'Controlling a Backlight with
the TSL2550 Ambient Light Sensor' (page 14), the actual lux value in
extended mode should be obtained multiplying the calculated lux value
by 5.

Signed-off-by: Michele Jr De Candia &lt;michele.decandia@valueteam.com&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>
According to the TAOS Application Note 'Controlling a Backlight with
the TSL2550 Ambient Light Sensor' (page 14), the actual lux value in
extended mode should be obtained multiplying the calculated lux value
by 5.

Signed-off-by: Michele Jr De Candia &lt;michele.decandia@valueteam.com&gt;
Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ARM: PNX4008: i2c-pnx: use the same dev_id for request_irq and free_irq</title>
<updated>2009-11-21T19:01:05+00:00</updated>
<author>
<name>Russell King</name>
<email>rmk+kernel@arm.linux.org.uk</email>
</author>
<published>2009-11-21T16:00:28+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/litmus-rt.git/commit/?id=f8d5e5a8f5be475796c7f357e43546c2d7f44540'/>
<id>f8d5e5a8f5be475796c7f357e43546c2d7f44540</id>
<content type='text'>
This allows i2c-pnx to free its interrupt handler when the module
is removed or if an error occurs; using the same dev_id for both
request_irq and free_irq is desirable.

Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
Acked-by: Ben Dooks &lt;ben-linux@fluff.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows i2c-pnx to free its interrupt handler when the module
is removed or if an error occurs; using the same dev_id for both
request_irq and free_irq is desirable.

Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
Acked-by: Ben Dooks &lt;ben-linux@fluff.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>i2c: i2c-pnx: Added missing mach/i2c.h and linux/io.h header file includes</title>
<updated>2009-11-20T00:25:42+00:00</updated>
<author>
<name>Kevin Wells</name>
<email>kevin.wells@nxp.com</email>
</author>
<published>2009-11-11T23:25:52+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/litmus-rt.git/commit/?id=a7d73d8c686d919cc18dec63e5e194f0e5a7206e'/>
<id>a7d73d8c686d919cc18dec63e5e194f0e5a7206e</id>
<content type='text'>
Added missing mach/i2c.h and linux/io.h header file includes

Signed-off-by: Kevin Wells &lt;kevin.wells@nxp.com&gt;
Signed-off-by: Ben Dooks &lt;ben-linux@fluff.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added missing mach/i2c.h and linux/io.h header file includes

Signed-off-by: Kevin Wells &lt;kevin.wells@nxp.com&gt;
Signed-off-by: Ben Dooks &lt;ben-linux@fluff.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>i2c: i2c-pnx: Limit minimum jiffie timeout to 2</title>
<updated>2009-11-20T00:25:41+00:00</updated>
<author>
<name>Kevin Wells</name>
<email>kevin.wells@nxp.com</email>
</author>
<published>2009-11-11T23:28:13+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/litmus-rt.git/commit/?id=b2f125bcf5eac41a6d74f75ac573b77753213b74'/>
<id>b2f125bcf5eac41a6d74f75ac573b77753213b74</id>
<content type='text'>
Limit minimum jiffie timeout to 2 to prevent early timeout on systems
with low tick rates

Signed-off-by: Kevin Wells &lt;kevin.wells@nxp.com&gt;
Signed-off-by: Ben Dooks &lt;ben-linux@fluff.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Limit minimum jiffie timeout to 2 to prevent early timeout on systems
with low tick rates

Signed-off-by: Kevin Wells &lt;kevin.wells@nxp.com&gt;
Signed-off-by: Ben Dooks &lt;ben-linux@fluff.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>i2c-piix4: Modify code name SB900 to Hudson-2</title>
<updated>2009-11-07T12:10:46+00:00</updated>
<author>
<name>Crane Cai</name>
<email>crane.cai@amd.com</email>
</author>
<published>2009-11-07T12:10:46+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/litmus-rt.git/commit/?id=3806e94b0148350c72f9a3214274026b6ca03f49'/>
<id>3806e94b0148350c72f9a3214274026b6ca03f49</id>
<content type='text'>
Change SB900 to its formal code name Hudson-2.

Signed-off-by: Crane Cai &lt;crane.cai@amd.com&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>
Change SB900 to its formal code name Hudson-2.

Signed-off-by: Crane Cai &lt;crane.cai@amd.com&gt;
Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>i2c-mpc: Do not generate STOP after read.</title>
<updated>2009-11-02T23:28:47+00:00</updated>
<author>
<name>Joakim Tjernlund</name>
<email>Joakim.Tjernlund@transmode.se</email>
</author>
<published>2009-10-13T08:12:03+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/litmus-rt.git/commit/?id=45da790ebe746bb29f7e4adf806c020db6ff7755'/>
<id>45da790ebe746bb29f7e4adf806c020db6ff7755</id>
<content type='text'>
The driver always ends a read with a STOP condition which
breaks subsequent I2C reads/writes in the same transaction as
these expect to do a repeated START(ReSTART).

This will also help I2C multimaster as the bus will not be released
after the first read, but when the whole transaction ends.

Signed-off-by: Joakim Tjernlund &lt;Joakim.Tjernlund@transmode.se&gt;
Signed-off-by: Ben Dooks &lt;ben-linux@fluff.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The driver always ends a read with a STOP condition which
breaks subsequent I2C reads/writes in the same transaction as
these expect to do a repeated START(ReSTART).

This will also help I2C multimaster as the bus will not be released
after the first read, but when the whole transaction ends.

Signed-off-by: Joakim Tjernlund &lt;Joakim.Tjernlund@transmode.se&gt;
Signed-off-by: Ben Dooks &lt;ben-linux@fluff.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>i2c: imx: disable clock when it's possible to save power.</title>
<updated>2009-11-02T23:28:47+00:00</updated>
<author>
<name>Richard Zhao</name>
<email>linuxzsc@gmail.com</email>
</author>
<published>2009-10-17T09:46:24+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/litmus-rt.git/commit/?id=db3a3d4ef7f676501325ae9c7ce0c193c2c1b28f'/>
<id>db3a3d4ef7f676501325ae9c7ce0c193c2c1b28f</id>
<content type='text'>
Enable clock before START, disable it after STOP.

Signed-off-by: Richard Zhao &lt;linuxzsc@gmail.com&gt;
Signed-off-by: Ben Dooks &lt;ben-linux@fluff.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Enable clock before START, disable it after STOP.

Signed-off-by: Richard Zhao &lt;linuxzsc@gmail.com&gt;
Signed-off-by: Ben Dooks &lt;ben-linux@fluff.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>i2c: imx: only imx1 needs disable delay</title>
<updated>2009-11-02T23:28:47+00:00</updated>
<author>
<name>Richard Zhao</name>
<email>linuxzsc@gmail.com</email>
</author>
<published>2009-10-17T09:46:23+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/litmus-rt.git/commit/?id=a4094a76e6a45691b8f9108060b750a48b4c4563'/>
<id>a4094a76e6a45691b8f9108060b750a48b4c4563</id>
<content type='text'>
check cpu_is_mx1() when disable delay.

Signed-off-by: Richard Zhao &lt;linuxzsc@gmail.com&gt;
Signed-off-by: Ben Dooks &lt;ben-linux@fluff.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
check cpu_is_mx1() when disable delay.

Signed-off-by: Richard Zhao &lt;linuxzsc@gmail.com&gt;
Signed-off-by: Ben Dooks &lt;ben-linux@fluff.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
