get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 806568,
    "url": "http://patchwork.ozlabs.org/api/patches/806568/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1503925035-13961-1-git-send-email-yamada.masahiro@socionext.com/",
    "project": {
        "id": 18,
        "url": "http://patchwork.ozlabs.org/api/projects/18/?format=api",
        "name": "U-Boot",
        "link_name": "uboot",
        "list_id": "u-boot.lists.denx.de",
        "list_email": "u-boot@lists.denx.de",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<1503925035-13961-1-git-send-email-yamada.masahiro@socionext.com>",
    "list_archive_url": null,
    "date": "2017-08-28T12:57:15",
    "name": "[U-Boot] ARM: uniphier: fix DSPLL init code for LD20 SoC",
    "commit_ref": "4013bbb1f34cc7f468600eba115fb8cfa0ff5dee",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "26b55f2e1dc8d1912ddc07f19a1dd19315b15989",
    "submitter": {
        "id": 65882,
        "url": "http://patchwork.ozlabs.org/api/people/65882/?format=api",
        "name": "Masahiro Yamada",
        "email": "yamada.masahiro@socionext.com"
    },
    "delegate": {
        "id": 38701,
        "url": "http://patchwork.ozlabs.org/api/users/38701/?format=api",
        "username": "masahir0y",
        "first_name": "Masahiro",
        "last_name": "Yamada",
        "email": "yamada.m@jp.panasonic.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/1503925035-13961-1-git-send-email-yamada.masahiro@socionext.com/mbox/",
    "series": [
        {
            "id": 163,
            "url": "http://patchwork.ozlabs.org/api/series/163/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=163",
            "date": "2017-08-28T12:57:15",
            "name": "[U-Boot] ARM: uniphier: fix DSPLL init code for LD20 SoC",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/163/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/806568/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/806568/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<u-boot-bounces@lists.denx.de>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org",
        "Authentication-Results": [
            "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=nifty.com header.i=@nifty.com\n\theader.b=\"Oq7FITMW\"; dkim-atps=neutral"
        ],
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xgsJ45270z9sDB\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 28 Aug 2017 22:57:56 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 0554FC224EB; Mon, 28 Aug 2017 12:57:44 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id E3796C2248F;\n\tMon, 28 Aug 2017 12:57:41 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 43263C2248F; Mon, 28 Aug 2017 12:57:40 +0000 (UTC)",
            "from conuserg-08.nifty.com (conuserg-08.nifty.com [210.131.2.75])\n\tby lists.denx.de (Postfix) with ESMTPS id 41FB0C21EBC\n\tfor <u-boot@lists.denx.de>; Mon, 28 Aug 2017 12:57:38 +0000 (UTC)",
            "from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp\n\t[153.142.97.92]) (authenticated)\n\tby conuserg-08.nifty.com with ESMTP id v7SCvLL5001184;\n\tMon, 28 Aug 2017 21:57:21 +0900"
        ],
        "X-Spam-Checker-Version": "SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de",
        "X-Spam-Level": "",
        "X-Spam-Status": "No, score=0.0 required=5.0 tests=T_DKIM_INVALID\n\tautolearn=unavailable autolearn_force=no version=3.4.0",
        "DKIM-Filter": "OpenDKIM Filter v2.10.3 conuserg-08.nifty.com v7SCvLL5001184",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com;\n\ts=dec2015msa; t=1503925041;\n\tbh=yd/A+ksDRZ1GwS8xFNDTMJqQubOM69GhA6crB/K/w6Q=;\n\th=From:To:Cc:Subject:Date:From;\n\tb=Oq7FITMWHVG9sMHLVtC7hk/VHLP8wZEA8Z/EV21uSEYIeJh/VMcUv0ZOw2xhh+VnJ\n\t1LimbUNOHB/kuBbaDjWGe0OOJRsdvTaFdMtEcWsVUHv72Lv+y/9Fzk5WDwy7Lpyfyh\n\tqcjdxsmfVvKtwcOvbm0zs8FGm6UjkjJOSjpPAibHRA5l33PZZ+syaspPq6PVNS7H/h\n\tqsgPMnM7yDD4S2Ce8SBP5YoPjMVzIKQF4H5Onbzjbzh2GuwBhOY+aRJXRQ5xvoynDc\n\twUiucmNs94QuVScU3hk2gUFHkbmmtPUYNlVKNYCsUBCZFG+hte/TPFe6kpxkn4vTW4\n\tlkZgZWVY56jmg==",
        "X-Nifty-SrcIP": "[153.142.97.92]",
        "From": "Masahiro Yamada <yamada.masahiro@socionext.com>",
        "To": "u-boot@lists.denx.de",
        "Date": "Mon, 28 Aug 2017 21:57:15 +0900",
        "Message-Id": "<1503925035-13961-1-git-send-email-yamada.masahiro@socionext.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "Cc": "Albert Aribaud <albert.u.boot@aribaud.net>",
        "Subject": "[U-Boot] [PATCH] ARM: uniphier: fix DSPLL init code for LD20 SoC",
        "X-BeenThere": "u-boot@lists.denx.de",
        "X-Mailman-Version": "2.1.18",
        "Precedence": "list",
        "List-Id": "U-Boot discussion <u-boot.lists.denx.de>",
        "List-Unsubscribe": "<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>",
        "List-Archive": "<http://lists.denx.de/pipermail/u-boot/>",
        "List-Post": "<mailto:u-boot@lists.denx.de>",
        "List-Help": "<mailto:u-boot-request@lists.denx.de?subject=help>",
        "List-Subscribe": "<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "Content-Transfer-Encoding": "base64",
        "Errors-To": "u-boot-bounces@lists.denx.de",
        "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>"
    },
    "content": "From: Dai Okamura <okamura.dai@socionext.com>\n\nSigned-off-by: Dai Okamura <okamura.dai@socionext.com>\nSigned-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>\n---\n\n arch/arm/mach-uniphier/clk/pll-base-ld20.c | 6 +++---\n 1 file changed, 3 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/arch/arm/mach-uniphier/clk/pll-base-ld20.c b/arch/arm/mach-uniphier/clk/pll-base-ld20.c\nindex 697eb7aabf01..3aa42f8bfdcd 100644\n--- a/arch/arm/mach-uniphier/clk/pll-base-ld20.c\n+++ b/arch/arm/mach-uniphier/clk/pll-base-ld20.c\n@@ -88,7 +88,7 @@ int uniphier_ld20_sscpll_set_regi(unsigned long reg_base, unsigned regi)\n \tif (!base)\n \t\treturn -ENOMEM;\n \n-\ttmp = readl(base + 8);\t/* SSCPLLCTRL */\n+\ttmp = readl(base + 8);\t/* SSCPLLCTRL3 */\n \ttmp &= ~SC_PLLCTRL3_REGI_MASK;\n \ttmp |= regi << SC_PLLCTRL3_REGI_SHIFT;\n \twritel(tmp, base + 8);\n@@ -133,9 +133,9 @@ int uniphier_ld20_dspll_init(unsigned long reg_base)\n \tif (!base)\n \t\treturn -ENOMEM;\n \n-\ttmp = readl(base + 8);\t\t/* DSPLLCTRL2 */\n+\ttmp = readl(base + 4);\t\t/* DSPLLCTRL2 */\n \ttmp |= SC_DSPLLCTRL2_K_LD;\n-\twritel(tmp, base + 8);\n+\twritel(tmp, base + 4);\n \n \tiounmap(base);\n \n",
    "prefixes": [
        "U-Boot"
    ]
}