get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 111885,
    "url": "http://patchwork.ozlabs.org/api/patches/111885/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1314472740-19509-1-git-send-email-agnel.joel@gmail.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": "<1314472740-19509-1-git-send-email-agnel.joel@gmail.com>",
    "list_archive_url": null,
    "date": "2011-08-27T19:19:00",
    "name": "[U-Boot,v2] beagleboard: enable HUB power on all variants of the BeagleBoard",
    "commit_ref": "38a77c3adb3ee559b135217769f5c49f3c8b62c9",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "03d3b6230f840fdef71686d0051b455b3a3a12f3",
    "submitter": {
        "id": 8387,
        "url": "http://patchwork.ozlabs.org/api/people/8387/?format=api",
        "name": "Joel Fernandes",
        "email": "agnel.joel@gmail.com"
    },
    "delegate": {
        "id": 1709,
        "url": "http://patchwork.ozlabs.org/api/users/1709/?format=api",
        "username": "rbohmer",
        "first_name": "Remy",
        "last_name": "Bohmer",
        "email": "linux@bohmer.net"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/1314472740-19509-1-git-send-email-agnel.joel@gmail.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/111885/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/111885/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",
        "Received": [
            "from theia.denx.de (theia.denx.de [85.214.87.163])\n\tby ozlabs.org (Postfix) with ESMTP id 3FE6BB6F85\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun, 28 Aug 2011 05:19:28 +1000 (EST)",
            "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 5499128084;\n\tSat, 27 Aug 2011 21:19:26 +0200 (CEST)",
            "from theia.denx.de ([127.0.0.1])\n\tby localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id E5gwRqLZjMxi; Sat, 27 Aug 2011 21:19:26 +0200 (CEST)",
            "from theia.denx.de (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 5155728085;\n\tSat, 27 Aug 2011 21:19:24 +0200 (CEST)",
            "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 5B5F228085\n\tfor <u-boot@lists.denx.de>; Sat, 27 Aug 2011 21:19:22 +0200 (CEST)",
            "from theia.denx.de ([127.0.0.1])\n\tby localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id ADC4HFm6prBR for <u-boot@lists.denx.de>;\n\tSat, 27 Aug 2011 21:19:21 +0200 (CEST)",
            "from mail-yi0-f44.google.com (mail-yi0-f44.google.com\n\t[209.85.218.44]) by theia.denx.de (Postfix) with ESMTPS id 28D2C28084\n\tfor <u-boot@lists.denx.de>; Sat, 27 Aug 2011 21:19:19 +0200 (CEST)",
            "by yie12 with SMTP id 12so2301299yie.3\n\tfor <u-boot@lists.denx.de>; Sat, 27 Aug 2011 12:19:17 -0700 (PDT)",
            "by 10.151.29.6 with SMTP id g6mr3249949ybj.322.1314472757407;\n\tSat, 27 Aug 2011 12:19:17 -0700 (PDT)",
            "from localhost.localdomain (cpe-76-184-244-226.tx.res.rr.com\n\t[76.184.244.226]) by mx.google.com with ESMTPS id\n\tg16sm1045612ybi.23.2011.08.27.12.19.15\n\t(version=TLSv1/SSLv3 cipher=OTHER);\n\tSat, 27 Aug 2011 12:19:16 -0700 (PDT)"
        ],
        "X-Virus-Scanned": [
            "Debian amavisd-new at theia.denx.de",
            "Debian amavisd-new at theia.denx.de"
        ],
        "X-policyd-weight": "NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5\n\tNOT_IN_BL_NJABL=-1.5 (only DNSBL check requested)",
        "From": "Joel A Fernandes <agnel.joel@gmail.com>",
        "To": [
            "u-boot@lists.denx.de",
            "u-boot@lists.denx.de"
        ],
        "Date": "Sat, 27 Aug 2011 14:19:00 -0500",
        "Message-Id": "<1314472740-19509-1-git-send-email-agnel.joel@gmail.com>",
        "X-Mailer": "git-send-email 1.7.1",
        "Cc": "Joel A Fernandes <joelagnel@ti.com>,\n\tChristian Spielberger <c.spielberger@bct-electronic.com>,\n\tJason Kridner <jdk@ti.com>, Eric Benard <eric@eukrea.com>",
        "Subject": "[U-Boot] [PATCH v2] beagleboard: enable HUB power on all variants\n\tof the BeagleBoard",
        "X-BeenThere": "u-boot@lists.denx.de",
        "X-Mailman-Version": "2.1.9",
        "Precedence": "list",
        "List-Id": "U-Boot discussion <u-boot.lists.denx.de>",
        "List-Unsubscribe": "<http://lists.denx.de/mailman/listinfo/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": "<http://lists.denx.de/mailman/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Sender": "u-boot-bounces@lists.denx.de",
        "Errors-To": "u-boot-bounces@lists.denx.de"
    },
    "content": "From: Christian Spielberger <c.spielberger@bct-electronic.com>\n\nChanges made by Jason Kridner with inputs from Eric Benard to special case xM Rev A and xM Rev B\n\nSigned-off-by: Joel A Fernandes <joelagnel@ti.com>\nCc: Eric Benard <eric@eukrea.com>\nCc: Christian Spielberger <c.spielberger@bct-electronic.com>\nCc: Jason Kridner <jdk@ti.com>\n---\nPrevious discussions:\nhttp://www.mail-archive.com/u-boot@lists.denx.de/msg59361.html\nhttp://www.mail-archive.com/u-boot@lists.denx.de/msg59589.html\n\n board/ti/beagle/beagle.c |   10 +++++++++-\n 1 files changed, 9 insertions(+), 1 deletions(-)",
    "diff": "diff --git a/board/ti/beagle/beagle.c b/board/ti/beagle/beagle.c\nindex 13fe39b..e07f1b8 100644\n--- a/board/ti/beagle/beagle.c\n+++ b/board/ti/beagle/beagle.c\n@@ -332,7 +332,15 @@ int misc_init_r(void)\n \t\tsetenv(expansion_config.env_var, expansion_config.env_setting);\n \n \ttwl4030_power_init();\n-\ttwl4030_led_init(TWL4030_LED_LEDEN_LEDAON | TWL4030_LED_LEDEN_LEDBON);\n+\tswitch (get_board_revision()) {\n+\tcase REVISION_XM_A:\n+\tcase REVISION_XM_B:\n+\t\ttwl4030_led_init(TWL4030_LED_LEDEN_LEDBON);\n+\t\tbreak;\n+\tdefault:\n+\t\ttwl4030_led_init(TWL4030_LED_LEDEN_LEDAON | TWL4030_LED_LEDEN_LEDBON);\n+\t\tbreak;\n+\t}\n \n \t/* Set GPIO states before they are made outputs */\n \twritel(GPIO23 | GPIO10 | GPIO8 | GPIO2 | GPIO1,\n",
    "prefixes": [
        "U-Boot",
        "v2"
    ]
}