get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/184649/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 184649,
    "url": "http://patchwork.ozlabs.org/api/patches/184649/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-imx/patch/1347955531-31304-1-git-send-email-s.hauer@pengutronix.de/",
    "project": {
        "id": 19,
        "url": "http://patchwork.ozlabs.org/api/projects/19/?format=api",
        "name": "Linux IMX development",
        "link_name": "linux-imx",
        "list_id": "linux-imx-kernel.lists.patchwork.ozlabs.org",
        "list_email": "linux-imx-kernel@lists.patchwork.ozlabs.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<1347955531-31304-1-git-send-email-s.hauer@pengutronix.de>",
    "list_archive_url": null,
    "date": "2012-09-18T08:05:31",
    "name": "ARM i.MX25: Make timer irq work again",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "c4654a024a73bb79b1833e4dec3f9b6318d78446",
    "submitter": {
        "id": 61,
        "url": "http://patchwork.ozlabs.org/api/people/61/?format=api",
        "name": "Sascha Hauer",
        "email": "s.hauer@pengutronix.de"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-imx/patch/1347955531-31304-1-git-send-email-s.hauer@pengutronix.de/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/184649/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/184649/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org>",
        "X-Original-To": "incoming-imx@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming-imx@bilbo.ozlabs.org",
        "Received": [
            "from merlin.infradead.org (unknown [IPv6:2001:4978:20e::2])\n\t(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\n\t(Client did not present a certificate)\n\tby ozlabs.org (Postfix) with ESMTPS id C57562C0083\n\tfor <incoming-imx@patchwork.ozlabs.org>;\n\tTue, 18 Sep 2012 18:09:54 +1000 (EST)",
            "from localhost ([::1] helo=merlin.infradead.org)\n\tby merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux))\n\tid 1TDsoc-0001R0-DR; Tue, 18 Sep 2012 08:05:54 +0000",
            "from metis.ext.pengutronix.de ([92.198.50.35])\n\tby merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux))\n\tid 1TDsoK-0001NI-9w for linux-arm-kernel@lists.infradead.org;\n\tTue, 18 Sep 2012 08:05:37 +0000",
            "from dude.hi.pengutronix.de ([2001:6f8:1178:2:21e:67ff:fe11:9c5c])\n\tby metis.ext.pengutronix.de with esmtp (Exim 4.72)\n\t(envelope-from <sha@pengutronix.de>)\n\tid 1TDsoI-0003uj-UX; Tue, 18 Sep 2012 10:05:34 +0200",
            "from sha by dude.hi.pengutronix.de with local (Exim 4.80)\n\t(envelope-from <sha@pengutronix.de>)\n\tid 1TDsoI-0008Do-PE; Tue, 18 Sep 2012 10:05:34 +0200"
        ],
        "From": "Sascha Hauer <s.hauer@pengutronix.de>",
        "To": "<linux-arm-kernel@lists.infradead.org>",
        "Subject": "[PATCH] ARM i.MX25: Make timer irq work again",
        "Date": "Tue, 18 Sep 2012 10:05:31 +0200",
        "Message-Id": "<1347955531-31304-1-git-send-email-s.hauer@pengutronix.de>",
        "X-Mailer": "git-send-email 1.7.10.4",
        "X-SA-Exim-Connect-IP": "2001:6f8:1178:2:21e:67ff:fe11:9c5c",
        "X-SA-Exim-Mail-From": "sha@pengutronix.de",
        "X-SA-Exim-Scanned": "No (on metis.ext.pengutronix.de);\n\tSAEximRunCond expanded to false",
        "X-PTX-Original-Recipient": "linux-arm-kernel@lists.infradead.org",
        "X-Spam-Note": "CRM114 invocation failed",
        "X-Spam-Score": "-2.4 (--)",
        "X-Spam-Report": "SpamAssassin version 3.3.2 on merlin.infradead.org summary:\n\tContent analysis details:   (-2.4 points)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-0.5 RP_MATCHES_RCVD Envelope sender domain matches handover relay\n\tdomain\n\t-1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%\n\t[score: 0.0000]",
        "Cc": "Sascha Hauer <s.hauer@pengutronix.de>, Shawn Guo <shawn.guo@linaro.org>",
        "X-BeenThere": "linux-arm-kernel@lists.infradead.org",
        "X-Mailman-Version": "2.1.14",
        "Precedence": "list",
        "List-Unsubscribe": "<http://lists.infradead.org/mailman/options/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.infradead.org/pipermail/linux-arm-kernel/>",
        "List-Post": "<mailto:linux-arm-kernel@lists.infradead.org>",
        "List-Help": "<mailto:linux-arm-kernel-request@lists.infradead.org?subject=help>",
        "List-Subscribe": "<http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Sender": "linux-arm-kernel-bounces@lists.infradead.org",
        "Errors-To": "linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org",
        "List-Id": "linux-imx-kernel.lists.patchwork.ozlabs.org"
    },
    "content": "Since i.MX has SPARSE_IRQ enabled the i.MX25 timer is broken. This\nis because the internal irqs now start at an offset of NR_IRQS_LEGACY.\nThe patch fixed this up, but missed the i.MX25 timer which used a\nhardcoded value instead of a define. This patch introduces a define\nfor the timer irq and uses it.\n\nThis is broken since introduced with 3.6-rc1:\n\n| commit 8842a9e2869cae14bbb8184004a42fc3070587fb\n| Author: Shawn Guo <shawn.guo@linaro.org>\n| Date:   Thu Jun 14 11:16:14 2012 +0800\n|\n|    ARM: imx: enable SPARSE_IRQ for imx platform\n\nSigned-off-by: Sascha Hauer <s.hauer@pengutronix.de>\n---\n arch/arm/mach-imx/clk-imx25.c         |    2 +-\n arch/arm/plat-mxc/include/mach/mx25.h |    1 +\n 2 files changed, 2 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/arch/arm/mach-imx/clk-imx25.c b/arch/arm/mach-imx/clk-imx25.c\nindex fdd8cc8..0fc72fc 100644\n--- a/arch/arm/mach-imx/clk-imx25.c\n+++ b/arch/arm/mach-imx/clk-imx25.c\n@@ -243,6 +243,6 @@ int __init mx25_clocks_init(void)\n \tclk_register_clkdev(clk[sdma_ahb], \"ahb\", \"imx35-sdma\");\n \tclk_register_clkdev(clk[iim_ipg], \"iim\", NULL);\n \n-\tmxc_timer_init(MX25_IO_ADDRESS(MX25_GPT1_BASE_ADDR), 54);\n+\tmxc_timer_init(MX25_IO_ADDRESS(MX25_GPT1_BASE_ADDR), MX25_INT_GPT1);\n \treturn 0;\n }\ndiff --git a/arch/arm/plat-mxc/include/mach/mx25.h b/arch/arm/plat-mxc/include/mach/mx25.h\nindex 627d94f..ec46640 100644\n--- a/arch/arm/plat-mxc/include/mach/mx25.h\n+++ b/arch/arm/plat-mxc/include/mach/mx25.h\n@@ -98,6 +98,7 @@\n #define MX25_INT_UART1\t\t(NR_IRQS_LEGACY + 45)\n #define MX25_INT_GPIO2\t\t(NR_IRQS_LEGACY + 51)\n #define MX25_INT_GPIO1\t\t(NR_IRQS_LEGACY + 52)\n+#define MX25_INT_GPT1\t\t(NR_IRQS_LEGACY + 54)\n #define MX25_INT_FEC\t\t(NR_IRQS_LEGACY + 57)\n \n #define MX25_DMA_REQ_SSI2_RX1\t22\n",
    "prefixes": []
}