<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/mfd/max8998.c, branch linux-4.0.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.0.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.0.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2014-06-03T07:11:34Z</updated>
<entry>
<title>mfd: max8998: Make of_device_id array const</title>
<updated>2014-06-03T07:11:34Z</updated>
<author>
<name>Krzysztof Kozlowski</name>
</author>
<published>2014-05-13T10:58:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e920574d7f2869c7be859a4e37da9305be98698e'/>
<id>urn:sha1:e920574d7f2869c7be859a4e37da9305be98698e</id>
<content type='text'>
Array of struct of_device_id may be be const as expected by both
of_match_table field and of_match_node() call.

Signed-off-by: Krzysztof Kozlowski &lt;k.kozlowski@samsung.com&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<entry>
<title>mfd: max8998: Fix possible NULL pointer dereference on i2c_new_dummy error</title>
<updated>2014-03-19T08:58:09Z</updated>
<author>
<name>Krzysztof Kozlowski</name>
</author>
<published>2014-02-11T10:03:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ed26f87b9f71693a1d1ee85f5e6209601505080f'/>
<id>urn:sha1:ed26f87b9f71693a1d1ee85f5e6209601505080f</id>
<content type='text'>
During probe the driver allocates dummy I2C device for RTC with i2c_new_dummy() but it does not check the return value of this call.

In case of error (i2c_new_device(): memory allocation failure or I2C
address cannot be used) this function returns NULL which is later used
by i2c_unregister_device().

If i2c_new_dummy() fails for RTC device, fail also the probe for
main MFD driver.

Cc: stable@vger.kernel.org
Signed-off-by: Krzysztof Kozlowski &lt;k.kozlowski@samsung.com&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<entry>
<title>mfd: max8998: Naturalise cross-architecture discrepancies</title>
<updated>2014-02-19T13:30:25Z</updated>
<author>
<name>Lee Jones</name>
</author>
<published>2014-02-03T08:22:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8bace2d5b4baa0f60b6094b53aeb79515ec94e4a'/>
<id>urn:sha1:8bace2d5b4baa0f60b6094b53aeb79515ec94e4a</id>
<content type='text'>
If we compile the MAX8998 for a 64bit architecture we receive the following
warnings:

  drivers/mfd/max8998.c: In function ‘max8998_i2c_get_driver_data’:
  drivers/mfd/max8998.c:178:10:
    warning: cast from pointer to integer of different size
     return (int)match-&gt;data;
            ^

Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<entry>
<title>drivers/mfd/max8998.c: fix pointer-integer size mismatch warning in max8998_i2c_get_driver_data()</title>
<updated>2014-01-24T00:36:55Z</updated>
<author>
<name>David Howells</name>
</author>
<published>2014-01-23T23:54:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f30c0c32b69b6467fa23e2798432262428587471'/>
<id>urn:sha1:f30c0c32b69b6467fa23e2798432262428587471</id>
<content type='text'>
Fix up the following pointer-integer size mismatch warning in
max8998_i2c_get_driver_data():

	drivers/mfd/max8998.c: In function 'max8998_i2c_get_driver_data':
	drivers/mfd/max8998.c:178:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
		return (int)match-&gt;data;
		       ^

Signed-off-by: David Howells &lt;dhowells@redhat.com&gt;
Cc: Tomasz Figa &lt;t.figa@samsung.com&gt;
Cc: Mark Brown &lt;broonie@linaro.org&gt;
Cc: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>mfd: maxim: Constify struct mfd_cell where possible</title>
<updated>2014-01-06T09:13:27Z</updated>
<author>
<name>Geert Uytterhoeven</name>
</author>
<published>2013-11-18T13:33:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7c0517b1716bc1aa873064290401a8ce2fbabc32'/>
<id>urn:sha1:7c0517b1716bc1aa873064290401a8ce2fbabc32</id>
<content type='text'>
As of commit 03e361b25ee8dfb1fd9b890072c23c4aae01c6c7 ("mfd: Stop setting
refcounting pointers in original mfd_cell arrays"), the "cell" parameter of
mfd_add_devices() is "const" again. Hence make all cell data passed to
mfd_add_devices() const where possible.

Signed-off-by: Geert Uytterhoeven &lt;geert@linux-m68k.org&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<entry>
<title>mfd: max8998: Use devm_*() functions</title>
<updated>2013-08-20T07:51:23Z</updated>
<author>
<name>Jingoo Han</name>
</author>
<published>2013-08-20T07:04:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0010dd3883b8a5e99c7d4093b97e9e34300a2f03'/>
<id>urn:sha1:0010dd3883b8a5e99c7d4093b97e9e34300a2f03</id>
<content type='text'>
Use devm_*() functions to make cleanup paths simpler.

Signed-off-by: Jingoo Han &lt;jg1.han@samsung.com&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<entry>
<title>mfd: Use dev_get_platdata()</title>
<updated>2013-07-31T12:01:29Z</updated>
<author>
<name>Jingoo Han</name>
</author>
<published>2013-07-30T08:10:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=334a41ce9b753ec615e8c6c50ee07d6197190610'/>
<id>urn:sha1:334a41ce9b753ec615e8c6c50ee07d6197190610</id>
<content type='text'>
Use the wrapper function for retrieving the platform data instead of
accessing dev-&gt;platform_data directly.

Signed-off-by: Jingoo Han &lt;jg1.han@samsung.com&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<entry>
<title>mfd: max8998: Add support for Device Tree</title>
<updated>2013-06-30T21:30:04Z</updated>
<author>
<name>Tomasz Figa</name>
</author>
<published>2013-06-25T14:08:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ee999fb3f17faa3af6028bf7130707fe0d4157a4'/>
<id>urn:sha1:ee999fb3f17faa3af6028bf7130707fe0d4157a4</id>
<content type='text'>
This patch adds Device Tree support to max8998 driver.

Signed-off-by: Tomasz Figa &lt;t.figa@samsung.com&gt;
Acked-by: Mark Brown &lt;broonie@linaro.org&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>mfd: core: Push irqdomain mapping out into devices</title>
<updated>2012-09-15T21:22:04Z</updated>
<author>
<name>Mark Brown</name>
</author>
<published>2012-09-11T07:16:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0848c94fb4a5cc213a7fb0fb3a5721ad6e16f096'/>
<id>urn:sha1:0848c94fb4a5cc213a7fb0fb3a5721ad6e16f096</id>
<content type='text'>
Currently the MFD core supports remapping MFD cell interrupts using an
irqdomain but only if the MFD is being instantiated using device tree
and only if the device tree bindings use the pattern of registering IPs
in the device tree with compatible properties.  This will be actively
harmful for drivers which support non-DT platforms and use this pattern
for their DT bindings as it will mean that the core will silently change
remapping behaviour and it is also limiting for drivers which don't do
DT with this particular pattern.  There is also a potential fragility if
there are interrupts not associated with MFD cells and all the cells are
omitted from the device tree for some reason.

Instead change the code to take an IRQ domain as an optional argument,
allowing drivers to take the decision about the parent domain for their
interrupts.  The one current user of this feature is ab8500-core, it has
the domain lookup pushed out into the driver.

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: Use standard device wakeup for handling max8998 wakeup device</title>
<updated>2012-01-08T23:37:36Z</updated>
<author>
<name>Jonghwan Choi</name>
</author>
<published>2011-11-29T08:17:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7ef73598d4ca8add089d5eb9f3b78e9540a1a98d'/>
<id>urn:sha1:7ef73598d4ca8add089d5eb9f3b78e9540a1a98d</id>
<content type='text'>
Use device_init_wakeup &amp; device_may_wakeup to init wakeup

Signed-off-by: Jonghwan Choi &lt;jhbird.choi@samsung.com&gt;
Acked-by: Kyungmin Park &lt;kyungmin.park@samsung.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
</feed>
