<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mtk-20170518/package/kernel/gpio-button-hotplug, branch v17.01.2</title>
<subtitle>MTK 20170518 : Mediatek SDK based on OpenWRT Barrier Breaker</subtitle>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/'/>
<entry>
<title>gpio-button-hotplug: add more buttons</title>
<updated>2016-11-27T14:34:23+00:00</updated>
<author>
<name>Mathias Kresin</name>
<email>dev@kresin.me</email>
</author>
<published>2016-10-19T19:08:14+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=d561b2f5ce2e5f8d388103804ecfa8586bcbcf0e'/>
<id>d561b2f5ce2e5f8d388103804ecfa8586bcbcf0e</id>
<content type='text'>
The keycodes are used by some boards.

Signed-off-by: Mathias Kresin &lt;dev@kresin.me&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The keycodes are used by some boards.

Signed-off-by: Mathias Kresin &lt;dev@kresin.me&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>kernel/gpio-button-hotplug: drop Build/Prepare rule in favor of default one</title>
<updated>2016-10-15T09:36:52+00:00</updated>
<author>
<name>Alexandru Ardelean</name>
<email>ardeleanalex@gmail.com</email>
</author>
<published>2016-10-06T06:34:46+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=a1236a30a05b0eeaf3b52ad73b21ec2b8e0fedc1'/>
<id>a1236a30a05b0eeaf3b52ad73b21ec2b8e0fedc1</id>
<content type='text'>
Signed-off-by: Alexandru Ardelean &lt;ardeleanalex@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Alexandru Ardelean &lt;ardeleanalex@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>treewide: replace nbd@openwrt.org with nbd@nbd.name</title>
<updated>2016-06-07T06:58:42+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@nbd.name</email>
</author>
<published>2016-06-07T06:58:31+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=7eeb254cc49c4e9f837c980826ec112b9404f341'/>
<id>7eeb254cc49c4e9f837c980826ec112b9404f341</id>
<content type='text'>
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>kernel: gpio-button-hotplug: Add missing ONESHOT flag to threaded IRQ request</title>
<updated>2016-03-03T20:24:47+00:00</updated>
<author>
<name>John Crispin</name>
<email>john@openwrt.org</email>
</author>
<published>2016-03-03T20:24:47+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=4ac3411f09cc2a1a3ef32dfb656ba3b044f3f2e7'/>
<id>4ac3411f09cc2a1a3ef32dfb656ba3b044f3f2e7</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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>kernel: gpio-button-hotplug: update to use threaded irq's</title>
<updated>2016-02-12T08:29:11+00:00</updated>
<author>
<name>John Crispin</name>
<email>john@openwrt.org</email>
</author>
<published>2016-02-12T08:29:11+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=69517e88bea6ac19626dbff16cdc5e4a9f55cc25'/>
<id>69517e88bea6ac19626dbff16cdc5e4a9f55cc25</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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>gpio-button-hotplug: handle EPROBE_DEFER and other errors</title>
<updated>2015-07-26T15:52:17+00:00</updated>
<author>
<name>Hauke Mehrtens</name>
<email>hauke@hauke-m.de</email>
</author>
<published>2015-07-26T15:52:17+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=886764657ad978194931e0bbc425d66f83f577da'/>
<id>886764657ad978194931e0bbc425d66f83f577da</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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>build: drop obsolete kernel version dependencies</title>
<updated>2015-01-24T20:02:09+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@openwrt.org</email>
</author>
<published>2015-01-24T20:02:09+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=3120c9c9c24e3e80e646cdac2f75875e2e6a91fe'/>
<id>3120c9c9c24e3e80e646cdac2f75875e2e6a91fe</id>
<content type='text'>
Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;

SVN-Revision: 44110
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;

SVN-Revision: 44110
</pre>
</div>
</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:10+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@openwrt.org</email>
</author>
<published>2014-05-23T22:13:10+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=6ee4d92e3469de50fbcf486a5bfc673b4c12a142'/>
<id>6ee4d92e3469de50fbcf486a5bfc673b4c12a142</id>
<content type='text'>
Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;

SVN-Revision: 40838
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;

SVN-Revision: 40838
</pre>
</div>
</content>
</entry>
<entry>
<title>gpio-button-hotplug: fix (and extend) package description</title>
<updated>2014-05-14T10:22:48+00:00</updated>
<author>
<name>Hauke Mehrtens</name>
<email>hauke@hauke-m.de</email>
</author>
<published>2014-05-14T10:22:48+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=a5ced8b408f3ea6e504f3f5d8950d858d27f022b'/>
<id>a5ced8b408f3ea6e504f3f5d8950d858d27f022b</id>
<content type='text'>
Signed-off-by: Rafał Miłecki &lt;zajec5@gmail.com&gt;

SVN-Revision: 40765
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Rafał Miłecki &lt;zajec5@gmail.com&gt;

SVN-Revision: 40765
</pre>
</div>
</content>
</entry>
<entry>
<title>gpio-button-hotplug: don't build for 3.3 kernels</title>
<updated>2014-03-12T22:09:11+00:00</updated>
<author>
<name>Florian Fainelli</name>
<email>florian@openwrt.org</email>
</author>
<published>2014-03-12T22:09:11+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=0d92f34977b46eef717256e016bcc5fe3d6b5982'/>
<id>0d92f34977b46eef717256e016bcc5fe3d6b5982</id>
<content type='text'>
3.3 kernels do not have the required changes which would make
gpio-button-hotplug work, disallow building on those kernels for now.

Signed-off-by: Florian Fainelli &lt;florian@openwrt.org&gt;

SVN-Revision: 39903
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
3.3 kernels do not have the required changes which would make
gpio-button-hotplug work, disallow building on those kernels for now.

Signed-off-by: Florian Fainelli &lt;florian@openwrt.org&gt;

SVN-Revision: 39903
</pre>
</div>
</content>
</entry>
</feed>
