<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/arm/common/sa1111.c, branch linux-3.2.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.2.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.2.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2016-11-20T01:01:38Z</updated>
<entry>
<title>ARM: sa1111: fix pcmcia suspend/resume</title>
<updated>2016-11-20T01:01:38Z</updated>
<author>
<name>Russell King</name>
</author>
<published>2016-09-06T13:34:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b9590db438694507e4460abaff3340483bdcd7d7'/>
<id>urn:sha1:b9590db438694507e4460abaff3340483bdcd7d7</id>
<content type='text'>
commit 06dfe5cc0cc684e735cb0232fdb756d30780b05d upstream.

SA1111 PCMCIA was broken when PCMCIA switched to using dev_pm_ops for
the PCMCIA socket class.  PCMCIA used to handle suspend/resume via the
socket hosting device, which happened at normal device suspend/resume
time.

However, the referenced commit changed this: much of the resume now
happens much earlier, in the noirq resume handler of dev_pm_ops.

However, on SA1111, the PCMCIA device is not accessible as the SA1111
has not been resumed at _noirq time.  It's slightly worse than that,
because the SA1111 has already been put to sleep at _noirq time, so
suspend doesn't work properly.

Fix this by converting the core SA1111 code to use dev_pm_ops as well,
and performing its own suspend/resume at noirq time.

This fixes these errors in the kernel log:

pcmcia_socket pcmcia_socket0: time out after reset
pcmcia_socket pcmcia_socket1: time out after reset

and the resulting lack of PCMCIA cards after a S2RAM cycle.

Fixes: d7646f7632549 ("pcmcia: use dev_pm_ops for class pcmcia_socket_class")
Signed-off-by: Russell King &lt;rmk+kernel@armlinux.org.uk&gt;
Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
</content>
</entry>
<entry>
<title>clk: sa1111: convert to clk_prepare()/clk_unprepare()</title>
<updated>2011-09-27T08:25:53Z</updated>
<author>
<name>Russell King</name>
</author>
<published>2011-09-22T10:41:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=72ae00c970cf1e6027c5b719f42e7eff0aa1c1d9'/>
<id>urn:sha1:72ae00c970cf1e6027c5b719f42e7eff0aa1c1d9</id>
<content type='text'>
Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>ARM: dmabounce: get rid of dma_needs_bounce global function</title>
<updated>2011-07-04T07:39:55Z</updated>
<author>
<name>Russell King</name>
</author>
<published>2011-07-04T07:32:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0703ed2a6b260cd743adf49a8281eb064d728832'/>
<id>urn:sha1:0703ed2a6b260cd743adf49a8281eb064d728832</id>
<content type='text'>
Pass the device type specific needs_bounce function in at dmabounce
register time, avoiding the need for a platform specific global
function to do this.

Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>ARM: use ARM_DMA_ZONE_SIZE to adjust the zone sizes</title>
<updated>2011-05-12T07:36:53Z</updated>
<author>
<name>Russell King</name>
</author>
<published>2011-05-11T14:39:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=be20902ba67de70b38c995903321f4152dee57b7'/>
<id>urn:sha1:be20902ba67de70b38c995903321f4152dee57b7</id>
<content type='text'>
Rather than each platform providing its own function to adjust the
zone sizes, use the new ARM_DMA_ZONE_SIZE definition to perform this
adjustment.  This ensures that the actual DMA zone size and the
ISA_DMA_THRESHOLD/MAX_DMA_ADDRESS definitions are consistent with
each other, and moves this complexity out of the platform code.

Acked-by: Nicolas Pitre &lt;nicolas.pitre@linaro.org&gt;
Acked-by: Catalin Marinas &lt;catalin.marinas@arm.com&gt;
Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>arm: Fold irq_set_chip/irq_set_handler</title>
<updated>2011-03-29T12:47:58Z</updated>
<author>
<name>Thomas Gleixner</name>
</author>
<published>2011-03-24T12:35:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f38c02f3b338651e145aac2889ba976baf6b28b3'/>
<id>urn:sha1:f38c02f3b338651e145aac2889ba976baf6b28b3</id>
<content type='text'>
Use irq_set_chip_and_handler() instead. Converted with coccinelle.

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
</content>
</entry>
<entry>
<title>arm: Reorder irq_set_ function calls</title>
<updated>2011-03-29T12:47:58Z</updated>
<author>
<name>Thomas Gleixner</name>
</author>
<published>2011-03-24T12:29:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9323f26186403433293e87e717a7785f74f75d80'/>
<id>urn:sha1:9323f26186403433293e87e717a7785f74f75d80</id>
<content type='text'>
Reorder 
irq_set_chip()
irq_set_chip_data()
irq_set_handler()

to

irq_set_chip()
irq_set_handler()
irq_set_chip_data()

so the next patch can combine irq_set_chip() and irq_set_handler() to
irq_set_chip_and_handler().

Automated conversion with coccinelle.

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
</content>
</entry>
<entry>
<title>arm: Cleanup the irq namespace</title>
<updated>2011-03-29T12:47:57Z</updated>
<author>
<name>Thomas Gleixner</name>
</author>
<published>2011-03-24T12:25:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6845664a6a7d443f03883db59d10749d38d98b8e'/>
<id>urn:sha1:6845664a6a7d443f03883db59d10749d38d98b8e</id>
<content type='text'>
Convert to the new function names. Automated with coccinelle.

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
</content>
</entry>
<entry>
<title>ARM: sa1111: fix typo in sa1111_retrigger_lowirq()</title>
<updated>2011-01-14T16:21:01Z</updated>
<author>
<name>Pavel Machek</name>
</author>
<published>2011-01-10T22:35:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cae399880f82fdc6b0afccf42224fc2a759aa6b3'/>
<id>urn:sha1:cae399880f82fdc6b0afccf42224fc2a759aa6b3</id>
<content type='text'>
Signed-off-by: Pavel Machek &lt;pma@sysgo.com&gt;
Signed-off-by: Eric Miao &lt;eric.y.miao@gmail.com&gt;
</content>
</entry>
<entry>
<title>ARM: sa1111: irq_data conversion.</title>
<updated>2011-01-13T16:18:19Z</updated>
<author>
<name>Lennert Buytenhek</name>
</author>
<published>2010-11-29T09:20:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8231e74150cc3731f48879f804d47c8f061c8777'/>
<id>urn:sha1:8231e74150cc3731f48879f804d47c8f061c8777</id>
<content type='text'>
Signed-off-by: Lennert Buytenhek &lt;buytenh@secretlab.ca&gt;
Acked-by: Kristoffer Ericson &lt;kristoffer.ericson@gmail.com&gt;
</content>
</entry>
<entry>
<title>ARM: 6349/1: sa1111: move __sa1111_probe() to .devinit.text</title>
<updated>2010-10-04T19:20:44Z</updated>
<author>
<name>Uwe Kleine-König</name>
</author>
<published>2010-09-02T08:14:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=055d1965161bde96207371e7d31eb776c0f7790d'/>
<id>urn:sha1:055d1965161bde96207371e7d31eb776c0f7790d</id>
<content type='text'>
__sa1111_probe is only called by sa1111_probe that lives in .devinit.text.
So it's save to move the former to .devinit.text, too.

Acked-by: Kristoffer Ericson &lt;kristoffer.ericson@gmail.com&gt;
Signed-off-by: Uwe Kleine-König &lt;u.kleine-koenig@pengutronix.de&gt;
Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
</entry>
</feed>
