<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/mfd, branch v3.2.2</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/mfd?h=v3.2.2</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/mfd?h=v3.2.2'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2011-12-20T17:53:26Z</updated>
<entry>
<title>mfd: Include linux/io.h to jz4740-adc</title>
<updated>2011-12-20T17:53:26Z</updated>
<author>
<name>Axel Lin</name>
<email>axel.lin@gmail.com</email>
</author>
<published>2011-12-09T03:27:55Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=fa860403e61cf5201e2f03b726aa53c30ae9a659'/>
<id>urn:sha1:fa860403e61cf5201e2f03b726aa53c30ae9a659</id>
<content type='text'>
Include linux/io.h to fix below build error:

  CC      drivers/mfd/jz4740-adc.o
drivers/mfd/jz4740-adc.c: In function 'jz4740_adc_irq_demux':
drivers/mfd/jz4740-adc.c:73: error: implicit declaration of function 'readb'
drivers/mfd/jz4740-adc.c: In function 'jz4740_adc_set_enabled':
drivers/mfd/jz4740-adc.c:110: error: implicit declaration of function 'writeb'
drivers/mfd/jz4740-adc.c: In function 'jz4740_adc_set_config':
drivers/mfd/jz4740-adc.c:146: error: implicit declaration of function 'readl'
drivers/mfd/jz4740-adc.c:151: error: implicit declaration of function 'writel'
drivers/mfd/jz4740-adc.c: In function 'jz4740_adc_probe':
drivers/mfd/jz4740-adc.c:249: error: implicit declaration of function 'ioremap_nocache'
drivers/mfd/jz4740-adc.c:249: warning: assignment makes pointer from integer without a cast
drivers/mfd/jz4740-adc.c:289: warning: passing argument 3 of 'mfd_add_devices' discards qualifiers from pointer target type
include/linux/mfd/core.h:93: note: expected 'struct mfd_cell *' but argument is of type 'const struct mfd_cell *'
drivers/mfd/jz4740-adc.c:299: error: implicit declaration of function 'iounmap'
make[2]: *** [drivers/mfd/jz4740-adc.o] Error 1
make[1]: *** [drivers/mfd] Error 2
make: *** [drivers] Error 2

Signed-off-by: Axel Lin &lt;axel.lin@gmail.com&gt;
Acked-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 request_threaded_irq for twl4030-irq instead of irq_set_chained_handler</title>
<updated>2011-12-20T17:53:25Z</updated>
<author>
<name>NeilBrown</name>
<email>neilb@suse.de</email>
</author>
<published>2011-11-26T20:17:41Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=c1e61bcf8269d3bc4390a363ad2e1bc1dc226bda'/>
<id>urn:sha1:c1e61bcf8269d3bc4390a363ad2e1bc1dc226bda</id>
<content type='text'>
irq_set_chained_handler sets 'desc-&gt;handle_irq'.
However this irq is called by handle_nested_irq from handle_twl4030_pih,
and that uses action-&gt;thread_fn.

So the handled set with irq_set_chained_handler is never called.

So change to use request_threaded_irq instead - that sets the correct field.

Tested on GTA04 Phoenux.

Signed-off-by: NeilBrown &lt;neilb@suse.de&gt;
Tested-by: Felipe Contreras &lt;felipe.contreras@gmail.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>mfd: Base interrupt for twl4030-irq must be one-shot</title>
<updated>2011-12-20T17:53:25Z</updated>
<author>
<name>NeilBrown</name>
<email>neilb@suse.de</email>
</author>
<published>2011-11-26T20:17:41Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=286f8f3cd615177d5d0f8af8059a3fa39f51fa97'/>
<id>urn:sha1:286f8f3cd615177d5d0f8af8059a3fa39f51fa97</id>
<content type='text'>
As the interrupt source is only cleared by the threaded interrupt
service routine, we need to make the base interrupt IRQF_ONESHOT.
Without this, the first interrupt from the TWL4030 cause the CPU to
enter an infinite loop trying to handle to interrupt but never
clearing it.

Signed-off-by: NeilBrown &lt;neilb@suse.de&gt;
Tested-by: Felipe Contreras &lt;felipe.contreras@gmail.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>mfd: Handle tps65910 clear-mask correctly</title>
<updated>2011-12-20T17:53:25Z</updated>
<author>
<name>Marcus Folkesson</name>
<email>marcus.folkesson@gmail.com</email>
</author>
<published>2011-11-22T13:39:51Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=8f6a459a9daa6ce76d7c192f2cb3047fffb45ec8'/>
<id>urn:sha1:8f6a459a9daa6ce76d7c192f2cb3047fffb45ec8</id>
<content type='text'>
The function is not actually cleaing the bitmask.

Signed-off-by: Marcus Folkesson &lt;marcus.folkesson@gmail.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>mfd: add #ifdef CONFIG_DEBUG_FS guard for ab8500_debug_resources</title>
<updated>2011-12-20T17:53:25Z</updated>
<author>
<name>Axel Lin</name>
<email>axel.lin@gmail.com</email>
</author>
<published>2011-11-10T01:56:18Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=df7206477e36bb73e81b99c2cbbc1b91e4b1c8ac'/>
<id>urn:sha1:df7206477e36bb73e81b99c2cbbc1b91e4b1c8ac</id>
<content type='text'>
Fix below build warning if CONFIG_DEBUG_FS is disabled.

  CC      drivers/mfd/ab8500-core.o
drivers/mfd/ab8500-core.c:623: warning: 'ab8500_debug_resources' defined but not used

Signed-off-by: Axel Lin &lt;axel.lin@gmail.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>mfd: Fix twl-core oops while calling twl_i2c_* for unbound driver</title>
<updated>2011-12-20T17:53:25Z</updated>
<author>
<name>Ilya Yanok</name>
<email>yanok@emcraft.com</email>
</author>
<published>2011-08-01T21:00:28Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=8653be1afd60d6e8c36139b487e375b70357d9ef'/>
<id>urn:sha1:8653be1afd60d6e8c36139b487e375b70357d9ef</id>
<content type='text'>
Check inuse variable before trying to access twl_map to prevent
dereferencing of uninitialized variable.

Signed-off-by: Ilya Yanok &lt;yanok@emcraft.com&gt;
Cc: stable@kernel.org
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>mfd: include linux/module.h for ab5500-debugfs</title>
<updated>2011-12-20T17:53:25Z</updated>
<author>
<name>Axel Lin</name>
<email>axel.lin@gmail.com</email>
</author>
<published>2011-11-07T03:20:09Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=858a6303f2b14945447a964563f54c918ef3927e'/>
<id>urn:sha1:858a6303f2b14945447a964563f54c918ef3927e</id>
<content type='text'>
Include linux/module.h to fix below build error:

  CC      drivers/mfd/ab5500-debugfs.o
drivers/mfd/ab5500-debugfs.c:571: error: 'THIS_MODULE' undeclared here (not in a function)
make[2]: *** [drivers/mfd/ab5500-debugfs.o] Error 1

Signed-off-by: Axel Lin &lt;axel.lin@gmail.com&gt;
Acked-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>mfd: Update wm8994 active device checks for WM1811</title>
<updated>2011-12-20T17:50:56Z</updated>
<author>
<name>Mark Brown</name>
<email>broonie@opensource.wolfsonmicro.com</email>
</author>
<published>2011-11-04T23:14:46Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=b5488b6e868454fb10d23278de5038cda98b13ab'/>
<id>urn:sha1:b5488b6e868454fb10d23278de5038cda98b13ab</id>
<content type='text'>
This didn't go in as part of the original MFD patch for WM1811 due to
cross tree issues.

Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>mfd: Set tps6586x bits if new value is different from the old one</title>
<updated>2011-12-20T17:50:56Z</updated>
<author>
<name>Axel Lin</name>
<email>axel.lin@gmail.com</email>
</author>
<published>2011-10-31T06:24:30Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=26bc4e0cc5426e86398d6780d160f02c0a347087'/>
<id>urn:sha1:26bc4e0cc5426e86398d6780d160f02c0a347087</id>
<content type='text'>
It does not make sense to write new value only when all the bit_mask
bits are zero.
We need to write new value if the bit mask fields of new value is
not equal to old value.

Signed-off-by: Axel Lin &lt;axel.lin@gmail.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>mfd: Set da903x bits if new value is different from the old one</title>
<updated>2011-12-20T17:50:56Z</updated>
<author>
<name>Axel Lin</name>
<email>axel.lin@gmail.com</email>
</author>
<published>2011-10-31T06:23:03Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=af65e6cef488be0bd15932c8ce9801a47a183051'/>
<id>urn:sha1:af65e6cef488be0bd15932c8ce9801a47a183051</id>
<content type='text'>
It does not make sense to write new value only when all the bit_mask
bits are zero.
We need to write new value if the bit mask fields of new value is
not equal to old value.

Signed-off-by: Axel Lin &lt;axel.lin@gmail.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
</feed>
