<feed xmlns='http://www.w3.org/2005/Atom'>
<title>svn-archive/archive/package/kernel/gpio-button-hotplug/src, branch master</title>
<subtitle>OpenWrt SVN history</subtitle>
<id>https://git-03.infra.openwrt.org/openwrt/svn-archive/archive/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/openwrt/svn-archive/archive/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/svn-archive/archive/'/>
<updated>2016-06-07T06:59:36Z</updated>
<entry>
<title>treewide: fix replace nbd@openwrt.org with nbd@nbd.name</title>
<updated>2016-06-07T06:59:36Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2016-06-07T06:59:36Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/svn-archive/archive/commit/?id=b0684dafa3c9a4692bd965d1f2ed65c2c08bc6a1'/>
<id>urn:sha1:b0684dafa3c9a4692bd965d1f2ed65c2c08bc6a1</id>
<content type='text'>
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;

SVN-Revision: 49379
</content>
</entry>
<entry>
<title>kernel: gpio-button-hotplug: Add missing ONESHOT flag to threaded IRQ request</title>
<updated>2016-03-03T20:24:47Z</updated>
<author>
<name>John Crispin</name>
</author>
<published>2016-03-03T20:24:47Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/svn-archive/archive/commit/?id=449f23fa6ae6b2bdfe88bc9d892fe5f72aa55bf0'/>
<id>urn:sha1:449f23fa6ae6b2bdfe88bc9d892fe5f72aa55bf0</id>
<content type='text'>
Without the IRQF_ONESHOT flag in devm_request_threaded_irq() call I get
following error:

  genirq: Threaded irq requested with handler=NULL and !ONESHOT for irq 56
  gpio-keys gpio-keys: failed to request irq:56 for gpio:20

&gt;From kernel/irq/manage.c:

 The interrupt was requested with handler = NULL, so we use the default
 primary handler for it. But it does not have the oneshot flag set. In
 combination with level interrupts this is deadly, because the default
 primary handler just wakes the thread, then the irq lines is reenabled,
 but the device still has the level irq asserted. Rinse and repeat....

 While this works for edge type interrupts, we play it safe and reject
 unconditionally because we can't say for sure which type this interrupt
 really has. The type flags are unreliable as the underlying chip
 implementation can override them.

Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;

SVN-Revision: 48894
</content>
</entry>
<entry>
<title>kernel: gpio-button-hotplug: update to use threaded irq's</title>
<updated>2016-02-12T08:29:11Z</updated>
<author>
<name>John Crispin</name>
</author>
<published>2016-02-12T08:29:11Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/svn-archive/archive/commit/?id=e01c66b28e188724f0e2f3dbb54eb2a56a9217f1'/>
<id>urn:sha1:e01c66b28e188724f0e2f3dbb54eb2a56a9217f1</id>
<content type='text'>
Many gpio controllers 'cansleep' due to the fact that they are behind busses
e.g. i2c etc.

Using threaded irq's allows for 'sleep-able' gpio's to be used.

Signed-off-by: Pushpal Sidhu &lt;psidhu@gateworks.com&gt;
Signed-off-by: Tim Harvey &lt;tharvey@gateworks.com&gt;

SVN-Revision: 48696
</content>
</entry>
<entry>
<title>gpio-button-hotplug: handle EPROBE_DEFER and other errors</title>
<updated>2015-07-26T15:52:17Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2015-07-26T15:52:17Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/svn-archive/archive/commit/?id=478105338a99d44df30ce6409190701a1b414c69'/>
<id>urn:sha1:478105338a99d44df30ce6409190701a1b414c69</id>
<content type='text'>
of_get_gpio_flags() could return an error like EPROBE_DEFER which was
not handled before. This patch takes the code from gpio_keys_polled.c
for error handling and also improves some other unrelated small parts.

Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;


SVN-Revision: 46502
</content>
</entry>
<entry>
<title>gpio-button-hotplug: remove #ifdef CONFIG_HOTPLUG, it is gone in newer kernels (fixes #16413)</title>
<updated>2014-05-23T22:13:10Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2014-05-23T22:13:10Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/svn-archive/archive/commit/?id=987eaba2367c56b1221e9bf5620eade0affa1703'/>
<id>urn:sha1:987eaba2367c56b1221e9bf5620eade0affa1703</id>
<content type='text'>
Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;

SVN-Revision: 40838
</content>
</entry>
<entry>
<title>gpio-button-hotplug: add wwan button</title>
<updated>2014-01-14T23:11:10Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2014-01-14T23:11:10Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/svn-archive/archive/commit/?id=22be98df7f7dddd06fa5e192e6ba18fee368feaa'/>
<id>urn:sha1:22be98df7f7dddd06fa5e192e6ba18fee368feaa</id>
<content type='text'>
The wimax key will be used as a generic wwan key starting with Linux 
3.13. The brcm47xx target uses this key for the 3g buttons. Also remove 
the ifdef around KEY_WPS_BUTTON, this is in the kernel for a long time 
now. 

Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;


SVN-Revision: 39290
</content>
</entry>
<entry>
<title>gpio-button-hotplug: fix crash on remove</title>
<updated>2013-12-17T19:05:03Z</updated>
<author>
<name>Jonas Gorski</name>
</author>
<published>2013-12-17T19:05:03Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/svn-archive/archive/commit/?id=e0b3c0caf934f29d592666f3a9cc8b3966463f10'/>
<id>urn:sha1:e0b3c0caf934f29d592666f3a9cc8b3966463f10</id>
<content type='text'>
Don't call gpio_keys_remove recursively. Setting the platform
data to NULL triggered an oops on the second iteration, so there was
no infinate loop.

Signed-off-by: Jonas Gorski &lt;jogo@openwrt.org&gt;

SVN-Revision: 39124
</content>
</entry>
<entry>
<title>gpio-button-hotplug: add irq mode to driver</title>
<updated>2013-12-09T17:29:39Z</updated>
<author>
<name>John Crispin</name>
</author>
<published>2013-12-09T17:29:39Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/svn-archive/archive/commit/?id=b5e27f1eae7db32576845f9fcf6eb22575263226'/>
<id>urn:sha1:b5e27f1eae7db32576845f9fcf6eb22575263226</id>
<content type='text'>
Signed-off-by: John Crispin &lt;blogic@openwrt.org&gt;

SVN-Revision: 39021
</content>
</entry>
<entry>
<title>gpio-button-hotplug: add support for sliding switches</title>
<updated>2013-11-11T12:19:06Z</updated>
<author>
<name>John Crispin</name>
</author>
<published>2013-11-11T12:19:06Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/svn-archive/archive/commit/?id=3ac553dd10dd513c85d269c5ac956b0d4c221ad8'/>
<id>urn:sha1:3ac553dd10dd513c85d269c5ac956b0d4c221ad8</id>
<content type='text'>
Signed-off-by: John Crispin &lt;blogic@openwrt.org&gt;

SVN-Revision: 38725
</content>
</entry>
<entry>
<title>gpio-button-hotplug: add support for power buttons</title>
<updated>2013-10-28T13:45:57Z</updated>
<author>
<name>John Crispin</name>
</author>
<published>2013-10-28T13:45:57Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/svn-archive/archive/commit/?id=a5438968f8743424fd8b82aa58141bd2fc262509'/>
<id>urn:sha1:a5438968f8743424fd8b82aa58141bd2fc262509</id>
<content type='text'>
Signed-off-by: John Crispin &lt;blogic@openwrt.org&gt;

SVN-Revision: 38557
</content>
</entry>
</feed>
