<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/mfd, branch v2.6.35</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/mfd?h=v2.6.35</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/mfd?h=v2.6.35'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2010-06-03T09:33:58Z</updated>
<entry>
<title>i2c: Remove all i2c_set_clientdata(client, NULL) in drivers</title>
<updated>2010-06-03T09:33:58Z</updated>
<author>
<name>Wolfram Sang</name>
<email>w.sang@pengutronix.de</email>
</author>
<published>2010-06-03T09:33:58Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=fbae3fb1546e199ab0cd185348f8124411a1ca9d'/>
<id>urn:sha1:fbae3fb1546e199ab0cd185348f8124411a1ca9d</id>
<content type='text'>
I2C drivers can use the clientdata-pointer to point to private data. As I2C
devices are not really unregistered, but merely detached from their driver, it
used to be the drivers obligation to clear this pointer during remove() or a
failed probe(). As a couple of drivers forgot to do this, it was agreed that it
was cleaner if the i2c-core does this clearance when appropriate, as there is
no guarantee for the lifetime of the clientdata-pointer after remove() anyhow.
This feature was added to the core with commit
e4a7b9b04de15f6b63da5ccdd373ffa3057a3681 to fix the faulty drivers.

As there is no need anymore to clear the clientdata-pointer, remove all current
occurrences in the drivers to simplify the code and prevent confusion.

Signed-off-by: Wolfram Sang &lt;w.sang@pengutronix.de&gt;
Acked-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Acked-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
Acked-by: Richard Purdie &lt;rpurdie@linux.intel.com&gt;
Acked-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
</content>
</entry>
<entry>
<title>mfd: Rename twl5031 sih modules</title>
<updated>2010-05-27T23:38:02Z</updated>
<author>
<name>Ilkka Koskinen</name>
<email>ilkka.koskinen@nokia.com</email>
</author>
<published>2010-05-20T10:04:20Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=191211f50f35deb5b3b80bc7b620cfd4b0a4a2d9'/>
<id>urn:sha1:191211f50f35deb5b3b80bc7b620cfd4b0a4a2d9</id>
<content type='text'>
Fix the names of twl5031 specific sih modules to match
the documentation.

Signed-off-by: Ilkka Koskinen &lt;ilkka.koskinen@nokia.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>mfd: Storage class for timberdale should be before const qualifier</title>
<updated>2010-05-27T23:38:01Z</updated>
<author>
<name>Tobias Klauser</name>
<email>tklauser@distanz.ch</email>
</author>
<published>2010-05-20T08:39:00Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=ae9f52f05c8223c8b4e18b042febf7a7bb46332a'/>
<id>urn:sha1:ae9f52f05c8223c8b4e18b042febf7a7bb46332a</id>
<content type='text'>
The C99 specification states in section 6.11.5:

The placement of a storage-class specifier other than at the beginning
of the declaration specifiers in a declaration is an obsolescent
feature.

Signed-off-by: Tobias Klauser &lt;tklauser@distanz.ch&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>mfd: Remove unneeded and dangerous clearing of clientdata</title>
<updated>2010-05-27T23:38:01Z</updated>
<author>
<name>Wolfram Sang</name>
<email>w.sang@pengutronix.de</email>
</author>
<published>2010-05-20T22:50:17Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=28ade0f217a3a3ff992b01e06e6e425c250a8406'/>
<id>urn:sha1:28ade0f217a3a3ff992b01e06e6e425c250a8406</id>
<content type='text'>
Unlike real i2c-devices which get detached from the driver, dummy-devices
get truly unregistered. So, there has never been a need to clear the
clientdata because the device will go away anyhow. For the occasions fixed
here, clearing clientdata was even dangerous as the structure was freed
already.

Signed-off-by: Wolfram Sang &lt;w.sang@pengutronix.de&gt;
Acked-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>mfd: New AB8500 driver</title>
<updated>2010-05-27T23:38:00Z</updated>
<author>
<name>Rabin Vincent</name>
<email>rabin.vincent@stericsson.com</email>
</author>
<published>2010-05-19T09:39:02Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=62579266cf9caca5b999560be2b5ceee42fc4d4d'/>
<id>urn:sha1:62579266cf9caca5b999560be2b5ceee42fc4d4d</id>
<content type='text'>
Add a new driver to support the AB8500 Power Management chip, replacing
the current AB4500.  The new driver replaces the old one, instead of an
incremental modification, because this is a substantial overhaul
including:

 - Split of the driver into -core and -spi portions, to allow another
   interface layer to be added

 - Addition of interrupt support

 - Switch to MFD core API for handling subdevices

 - Simplification of the APIs to remove a redundant block parameter

 - Rename of the APIs and macros from ab4500_* to ab8500_*

 - Rename of the files from ab4500* to ab8500*

 - Change of the driver name from ab4500 to ab8500

Acked-by: Linus Walleij &lt;linus.walleij@stericsson.com&gt;
Acked-by: Srinidhi Kasagar &lt;srinidhi.kasagar@stericsson.com&gt;
Signed-off-by: Rabin Vincent &lt;rabin.vincent@stericsson.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>mfd: Change rdc321x resources flags to IORESOURCE_IO</title>
<updated>2010-05-27T23:37:52Z</updated>
<author>
<name>Florian Fainelli</name>
<email>florian@openwrt.org</email>
</author>
<published>2010-05-15T20:58:27Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=8deca39e5caf7a20fc3786548dc9bfb7f0ae14b6'/>
<id>urn:sha1:8deca39e5caf7a20fc3786548dc9bfb7f0ae14b6</id>
<content type='text'>
The rdc321x southbridge PCI device has no MEM PCI resources that we could
pass to mfd_add_devices. Since 33254dd5, mfd_add_device checks for the
mem_base argument that we set to NULL. Changing the resources passed to
our MFD cells from IORESOURCE_MEM to IORESOURCE_IO fixes that. Since we use
those resources as offsets to the PCI configuration space base address of
the southbridge device this is also more adequate.

Signed-off-by: Florian Fainelli &lt;florian@openwrt.org&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>mfd: Move pcf50633 irq related functions to its own file.</title>
<updated>2010-05-27T23:37:50Z</updated>
<author>
<name>Lars-Peter Clausen</name>
<email>lars@metafoo.de</email>
</author>
<published>2010-05-12T00:10:56Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=380c09f6489f1fd773a697e9e2a156c083a34fc5'/>
<id>urn:sha1:380c09f6489f1fd773a697e9e2a156c083a34fc5</id>
<content type='text'>
This reduces code clutter a bit and will ease an migration to genirq.

Signed-off-by: Lars-Peter Clausen &lt;lars@metafoo.de&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>mfd: Use threaded irq for pcf50633</title>
<updated>2010-05-27T23:37:49Z</updated>
<author>
<name>Lars-Peter Clausen</name>
<email>lars@metafoo.de</email>
</author>
<published>2010-05-12T00:10:55Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=f7b2a77fe6f7b13b9cbf1909f032adef0be63ce1'/>
<id>urn:sha1:f7b2a77fe6f7b13b9cbf1909f032adef0be63ce1</id>
<content type='text'>
Use threaded oneshot irq handler instead of normal irq handler and a workqueue.

Signed-off-by: Lars-Peter Clausen &lt;lars@metafoo.de&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>mfd: pcf50633-adc: Fix potential race in pcf50633_adc_sync_read</title>
<updated>2010-05-27T23:37:49Z</updated>
<author>
<name>Lars-Peter Clausen</name>
<email>lars@metafoo.de</email>
</author>
<published>2010-05-12T00:10:54Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=6438a694b670cd188c2fd2f75e0cd6b0ae21bea9'/>
<id>urn:sha1:6438a694b670cd188c2fd2f75e0cd6b0ae21bea9</id>
<content type='text'>
Currently it's not guaranteed that request struct is not already freed when
reading from it. Fix this by moving synced request related fields from the
pcf50633_adc_request struct to its own struct and store it on the functions
stack.

Signed-off-by: Lars-Peter Clausen &lt;lars@metafoo.de&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>mfd: Fix pcf50633 bitfield logic in interrupt handler</title>
<updated>2010-05-27T23:37:48Z</updated>
<author>
<name>Lars-Peter Clausen</name>
<email>lars@metafoo.de</email>
</author>
<published>2010-05-12T00:10:53Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=0aeee5d4f6aa9bd28373907727937b7935d0434c'/>
<id>urn:sha1:0aeee5d4f6aa9bd28373907727937b7935d0434c</id>
<content type='text'>
Those constants are alreay bitfields.

Signed-off-by: Lars-Peter Clausen &lt;lars@metafoo.de&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
</feed>
