<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mtk-20170518/target/linux/generic/files/drivers/leds, branch master</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>linux/ledtrig-netdev: remove `unsigned &lt; 0` check</title>
<updated>2017-06-11T12:22:44+00:00</updated>
<author>
<name>Alexander Couzens</name>
<email>lynxis@fe80.eu</email>
</author>
<published>2017-06-11T11:30:21+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=814e1695aa3e2c2cb29e27f66e925a813defee03'/>
<id>814e1695aa3e2c2cb29e27f66e925a813defee03</id>
<content type='text'>
Found-by: Coverity Scan
Signed-off-by: Alexander Couzens &lt;lynxis@fe80.eu&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Found-by: Coverity Scan
Signed-off-by: Alexander Couzens &lt;lynxis@fe80.eu&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ledtrig-netdev: don't cancel work on events for different interfaces</title>
<updated>2017-01-29T16:32:58+00:00</updated>
<author>
<name>Sergey Sergeev</name>
<email>adron@yapic.net</email>
</author>
<published>2017-01-29T16:01:40+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=74ea99b01d936d7b71ee8d0cd0f7c89617b90314'/>
<id>74ea99b01d936d7b71ee8d0cd0f7c89617b90314</id>
<content type='text'>
This fixes logic bug(in function netdev_trig_notify) introduced in
0b2991a8ed32b5d9ba0a7c3441a72e1c1a1c4fde commit.
Events triggered by different interfaces were stopping work queue so it
wasn't working for tx/rx mode.

Signed-off-by: Sergey Sergeev &lt;adron@yapic.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes logic bug(in function netdev_trig_notify) introduced in
0b2991a8ed32b5d9ba0a7c3441a72e1c1a1c4fde commit.
Events triggered by different interfaces were stopping work queue so it
wasn't working for tx/rx mode.

Signed-off-by: Sergey Sergeev &lt;adron@yapic.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>kernel: make ledtrig-netdev use a work queue for updates</title>
<updated>2017-01-16T08:52:59+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@nbd.name</email>
</author>
<published>2017-01-14T21:29:05+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=0b2991a8ed32b5d9ba0a7c3441a72e1c1a1c4fde'/>
<id>0b2991a8ed32b5d9ba0a7c3441a72e1c1a1c4fde</id>
<content type='text'>
This fixes hangs in igb that happen if the update call interrupts an
already existing dev_get_stats call. In that case the calling CPU
deadlocks because it's trying to acquire the same spinlock recursively.

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes hangs in igb that happen if the update call interrupts an
already existing dev_get_stats call. In that case the calling CPU
deadlocks because it's trying to acquire the same spinlock recursively.

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>kernel: drop usbdev LED trigger</title>
<updated>2016-10-19T10:09:45+00:00</updated>
<author>
<name>Rafał Miłecki</name>
<email>rafal@milecki.pl</email>
</author>
<published>2016-10-19T10:09:45+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=d0b50c2770a0e2d54b37153f2801e2e7dc865fa6'/>
<id>d0b50c2770a0e2d54b37153f2801e2e7dc865fa6</id>
<content type='text'>
It was LEDE's trigger that was replaced by upstream usbport one.

Signed-off-by: Rafał Miłecki &lt;rafal@milecki.pl&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It was LEDE's trigger that was replaced by upstream usbport one.

Signed-off-by: Rafał Miłecki &lt;rafal@milecki.pl&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>kernel: remove unused morse led trigger driver</title>
<updated>2016-08-04T18:53:02+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@nbd.name</email>
</author>
<published>2016-08-04T17:12:21+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=577f873dafdf3914c79ee21869288f20d419a39f'/>
<id>577f873dafdf3914c79ee21869288f20d419a39f</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>ledtrig-usbdev: fix duplicate match detection</title>
<updated>2016-07-23T08:30:45+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@nbd.name</email>
</author>
<published>2016-07-23T08:29:55+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=8fb89f7e73f29fb8bc94430ef024c19807a0c1d3'/>
<id>8fb89f7e73f29fb8bc94430ef024c19807a0c1d3</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>ledtrig-usbdev: use upstream function for iterating USB devices</title>
<updated>2016-07-20T08:13:50+00:00</updated>
<author>
<name>Rafał Miłecki</name>
<email>zajec5@gmail.com</email>
</author>
<published>2016-07-18T15:59:27+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=5ea8756766a5ba148e47075265743f727ef1d6dc'/>
<id>5ea8756766a5ba148e47075265743f727ef1d6dc</id>
<content type='text'>
This will allow us to drop LEDE patch adding usb_find_device_by_name.

Signed-off-by: Rafał Miłecki &lt;zajec5@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This will allow us to drop LEDE patch adding usb_find_device_by_name.

Signed-off-by: Rafał Miłecki &lt;zajec5@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ledtrig-netdev: don't stop timer on events for different interfaces</title>
<updated>2016-01-02T20:38:56+00:00</updated>
<author>
<name>Rafał Miłecki</name>
<email>zajec5@gmail.com</email>
</author>
<published>2016-01-02T20:38:56+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=b836a7c29d2717785524f94a7a1df3ae7bed8423'/>
<id>b836a7c29d2717785524f94a7a1df3ae7bed8423</id>
<content type='text'>
This fixes regression introduced in my recent ledtrig-netdev commit.
Events triggered by different interfaces were stopping timer so it
wasn't working for tx/rx mode.

Signed-off-by: Rafał Miłecki &lt;zajec5@gmail.com&gt;

SVN-Revision: 48072
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes regression introduced in my recent ledtrig-netdev commit.
Events triggered by different interfaces were stopping timer so it
wasn't working for tx/rx mode.

Signed-off-by: Rafał Miłecki &lt;zajec5@gmail.com&gt;

SVN-Revision: 48072
</pre>
</div>
</content>
</entry>
<entry>
<title>ledtrig-netdev: add support for renamed devices</title>
<updated>2016-01-01T21:19:41+00:00</updated>
<author>
<name>John Crispin</name>
<email>john@openwrt.org</email>
</author>
<published>2016-01-01T21:19:41+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=df165974c32a6ad2499b815d9d9f72b250d622f8'/>
<id>df165974c32a6ad2499b815d9d9f72b250d622f8</id>
<content type='text'>
The ppp0 interface is renamed after the connection is established. Due
to a missing NETDEV_REGISTER event, the ledtrig-netdev isn't aware of
the renamed interface and literally ignores the device
(no tx/rx indication, led isn't switched off with 'ifdown wan').

Signed-off-by: Mathias Kresin &lt;openwrt@kresin.me&gt;

SVN-Revision: 48048
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The ppp0 interface is renamed after the connection is established. Due
to a missing NETDEV_REGISTER event, the ledtrig-netdev isn't aware of
the renamed interface and literally ignores the device
(no tx/rx indication, led isn't switched off with 'ifdown wan').

Signed-off-by: Mathias Kresin &lt;openwrt@kresin.me&gt;

SVN-Revision: 48048
</pre>
</div>
</content>
</entry>
<entry>
<title>ledtrig-netdev: reset link status &amp; stats after changing device_name</title>
<updated>2015-12-23T17:11:49+00:00</updated>
<author>
<name>Rafał Miłecki</name>
<email>zajec5@gmail.com</email>
</author>
<published>2015-12-23T17:11:49+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=e9e3a0682c509487bb606aad84d46eafad3f7233'/>
<id>e9e3a0682c509487bb606aad84d46eafad3f7233</id>
<content type='text'>
Previously switching to non-existing device (interface) could result in
leaving LED on.

Signed-off-by: Rafał Miłecki &lt;zajec5@gmail.com&gt;

SVN-Revision: 47990
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously switching to non-existing device (interface) could result in
leaving LED on.

Signed-off-by: Rafał Miłecki &lt;zajec5@gmail.com&gt;

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