Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/557295/?format=api
{ "id": 557295, "url": "http://patchwork.ozlabs.org/api/patches/557295/?format=api", "web_url": "http://patchwork.ozlabs.org/project/openwrt/patch/owrt-patch-20151216-1@vittgam.net/", "project": { "id": 45, "url": "http://patchwork.ozlabs.org/api/projects/45/?format=api", "name": "OpenWrt development", "link_name": "openwrt", "list_id": "openwrt-devel.lists.openwrt.org", "list_email": "openwrt-devel@lists.openwrt.org", "web_url": "http://openwrt.org/", "scm_url": "git://git.openwrt.org/openwrt.git", "webscm_url": "https://dev.openwrt.org/browser", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<owrt-patch-20151216-1@vittgam.net>", "list_archive_url": null, "date": "2015-12-16T04:42:05", "name": "[OpenWrt-Devel,1/5] ath9k: Pass LED polarity to ath_create_gpio_led when initializing the LEDs.", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "00c78c440fdaec147c8b298c58fc4ff5363ddafb", "submitter": { "id": 65409, "url": "http://patchwork.ozlabs.org/api/people/65409/?format=api", "name": "Vittorio Gambaletta", "email": "openwrt@vittgam.net" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/openwrt/patch/owrt-patch-20151216-1@vittgam.net/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/557295/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/557295/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<openwrt-devel-bounces@lists.openwrt.org>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org", "Received": [ "from arrakis.dune.hu (arrakis.dune.hu [78.24.191.176])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id E96871402C4\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 16 Dec 2015 15:43:58 +1100 (AEDT)", "from arrakis.dune.hu (localhost [127.0.0.1])\n\tby arrakis.dune.hu (Postfix) with ESMTP id AD5482800EA;\n\tWed, 16 Dec 2015 05:42:38 +0100 (CET)", "from arrakis.dune.hu (localhost [127.0.0.1])\n\tby arrakis.dune.hu (Postfix) with ESMTP id 09CBB280640\n\tfor <openwrt-devel@lists.openwrt.org>;\n\tWed, 16 Dec 2015 05:41:55 +0100 (CET)", "from mail.vittgam.net (server1.vittgam.net [213.239.197.142])\n\tby arrakis.dune.hu (Postfix) with ESMTPS\n\tfor <openwrt-devel@lists.openwrt.org>;\n\tWed, 16 Dec 2015 05:41:54 +0100 (CET)", "from mail2.vittgam.net (server2.tincvpn.vittgam.net [10.48.0.5])\n\tby mail.vittgam.net with ESMTP id tBG4g7CE052032\n\t(version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO);\n\tWed, 16 Dec 2015 05:42:07 +0100", "from vl2 (vl2.r12.network.mietitrebbia.rocks [10.48.6.146])\n\tby mail2.vittgam.net with SMTP id tBG4g5Jl005523;\n\tWed, 16 Dec 2015 05:42:05 +0100" ], "Authentication-Results": "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (4096-bit key;\n\tunprotected) header.d=vittgam.net header.i=@vittgam.net\n\theader.b=BlG2+V5s; dkim-atps=neutral", "X-Spam-Checker-Version": "SpamAssassin 3.3.2 (2011-06-06) on arrakis.dune.hu", "X-Spam-Level": "", "X-Spam-Status": "No, score=-2.5 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,\n\tT_DKIM_INVALID autolearn=unavailable version=3.3.2", "X-policyd-weight": "using cached result; rate:hard: -7.6", "X-DKIM": "OpenDKIM Filter v2.4.2 mail.vittgam.net tBG4g7CE052032", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=vittgam.net;\n\ts=20150519; t=1450240928;\n\tbh=iolg8qjKhWH6cicv+xmbe7oqzPfLzXuTFXb8hl+leXo=;\n\th=Date:From:To:Subject:Content-Type:Message-ID;\n\tb=BlG2+V5svHr/INWPKtMCwLF90dpVV7zi58t6TEZublEij7OYQXw5bQpeijEA6KRMT\n\toQhGFo8wByW0TeW18tvJuLUGGGkUFXSazBGgnIXIR8WGn0Gr15NoOs/fCbpbJPZVG7\n\tQ+f0Bvk7BxQ5+lSd0jomY5tlU1Ok87LAjGhUeoEp4VizdcPHC8iUtmjp28veQZWahp\n\tmNkfqoBvqAMnuSuDHxqlBbK6+zXA/44cEZIHnpuKbATGVQdW/Pxxy+6Q7TJm+kBWFW\n\tlRCp2xIUMCUY5K81RBN3CZIV8JDJA8X38MfNp97UNSP13U4f2I2Bet89MXytJ8iMql\n\tE1YbzP+HIMvrJXheE1fQUUMqQ9/TXF55sJ4V/9GvZn/O/nA00H0swAUSD7X9A0+RLB\n\tocbBLd++csacWz0IlUGBpA1ibKvVKhfn6LXF3hRIANPGFrj1dJPc4Ou0rAHXcVpX+e\n\tiswsDQgpOHn551/3EF9Jrm07n7xdq84SNu438vNGteGydrYO7mckZ+CDzaGImzmKku\n\tb1zMtfJ7kvSZ2/XGq5Qzga6q1jQZwqM5p2XDZeqQeiEhVIVpSMgkV32PPBcij51LCE\n\tsgTZPHC/Fn7qJMOXxNvmpF808fCSTvMWJIm0I/n47pLQb4Kr6EjHANHXBygu6nzOup\n\tRerUxINEszlZufp1WnTqRdV8=", "Date": "Wed, 16 Dec 2015 05:42:05 +0100", "From": "\"Vittorio G (VittGam)\" <openwrt@vittgam.net>", "To": "<openwrt-devel@lists.openwrt.org>", "Message-ID": "<owrt-patch-20151216-1@vittgam.net>", "Subject": "[OpenWrt-Devel] [PATCH 1/5] ath9k: Pass LED polarity to\n\tath_create_gpio_led when initializing the LEDs.", "X-BeenThere": "openwrt-devel@lists.openwrt.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "OpenWrt Development List <openwrt-devel.lists.openwrt.org>", "List-Unsubscribe": "<https://lists.openwrt.org/cgi-bin/mailman/options/openwrt-devel>,\n\t<mailto:openwrt-devel-request@lists.openwrt.org?subject=unsubscribe>", "List-Archive": "<http://lists.openwrt.org/pipermail/openwrt-devel/>", "List-Post": "<mailto:openwrt-devel@lists.openwrt.org>", "List-Help": "<mailto:openwrt-devel-request@lists.openwrt.org?subject=help>", "List-Subscribe": "<https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel>,\n\t<mailto:openwrt-devel-request@lists.openwrt.org?subject=subscribe>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Errors-To": "openwrt-devel-bounces@lists.openwrt.org", "Sender": "\"openwrt-devel\" <openwrt-devel-bounces@lists.openwrt.org>" }, "content": "Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>\n\n---", "diff": "--- a/package/kernel/mac80211/patches/530-ath9k_extra_leds.patch\n+++ b/package/kernel/mac80211/patches/530-ath9k_extra_leds.patch\n@@ -159,7 +159,7 @@\n +\t\ttrigger = ieee80211_get_radio_led_name(sc->hw);\n \n -\tsc->led_registered = true;\n-+\tath_create_gpio_led(sc, sc->sc_ah->led_pin, led_name, trigger, 1);\n++\tath_create_gpio_led(sc, sc->sc_ah->led_pin, led_name, trigger, !sc->sc_ah->config.led_active_high);\n }\n \n void ath_fill_led_pin(struct ath_softc *sc)\n--- a/package/kernel/mac80211/patches/531-ath9k_extra_platform_leds.patch\n+++ b/package/kernel/mac80211/patches/531-ath9k_extra_platform_leds.patch\n@@ -59,7 +59,7 @@\n @@ -120,6 +141,12 @@ void ath_init_leds(struct ath_softc *sc)\n \t\ttrigger = ieee80211_get_radio_led_name(sc->hw);\n \n- \tath_create_gpio_led(sc, sc->sc_ah->led_pin, led_name, trigger, 1);\n+ \tath_create_gpio_led(sc, sc->sc_ah->led_pin, led_name, trigger, !sc->sc_ah->config.led_active_high);\n +\n +\tif (!pdata)\n +\t\treturn;\n", "prefixes": [ "OpenWrt-Devel", "1/5" ] }