get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 813022,
    "url": "http://patchwork.ozlabs.org/api/patches/813022/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/87f4f66f2cc60d14667fafe84b3c9f3ddd252779.1505242834.git-series.maxime.ripard@free-electrons.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": "<87f4f66f2cc60d14667fafe84b3c9f3ddd252779.1505242834.git-series.maxime.ripard@free-electrons.com>",
    "list_archive_url": null,
    "date": "2017-09-12T19:01:37",
    "name": "[U-Boot,v2,09/14] sunxi: imply USB_GADGET",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "72ddf943c2a0f0c55e7090a3a2a5e666875782b1",
    "submitter": {
        "id": 12916,
        "url": "http://patchwork.ozlabs.org/api/people/12916/?format=api",
        "name": "Maxime Ripard",
        "email": "maxime.ripard@free-electrons.com"
    },
    "delegate": {
        "id": 68827,
        "url": "http://patchwork.ozlabs.org/api/users/68827/?format=api",
        "username": "lukma",
        "first_name": "Lukasz",
        "last_name": "Majewski",
        "email": "lukma@denx.de"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/87f4f66f2cc60d14667fafe84b3c9f3ddd252779.1505242834.git-series.maxime.ripard@free-electrons.com/mbox/",
    "series": [
        {
            "id": 2759,
            "url": "http://patchwork.ozlabs.org/api/series/2759/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=2759",
            "date": "2017-09-12T19:01:28",
            "name": "sunxi: convert musb to the device model and enable usb_ether",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/2759/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/813022/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/813022/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>)",
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xsDs95VcDz9ryr\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 13 Sep 2017 05:10:34 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid B7F43C221B6; Tue, 12 Sep 2017 19:09:35 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 34311C2212B;\n\tTue, 12 Sep 2017 19:02:08 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 50C93C220FB; Tue, 12 Sep 2017 19:01:59 +0000 (UTC)",
            "from mail.free-electrons.com (mail.free-electrons.com [62.4.15.54])\n\tby lists.denx.de (Postfix) with ESMTP id F3042C21FE6\n\tfor <u-boot@lists.denx.de>; Tue, 12 Sep 2017 19:01:50 +0000 (UTC)",
            "by mail.free-electrons.com (Postfix, from userid 110)\n\tid C3608209EB; Tue, 12 Sep 2017 21:01:50 +0200 (CEST)",
            "from localhost (LFbn-TOU-1-209-191.w86-201.abo.wanadoo.fr\n\t[86.201.56.191])\n\tby mail.free-electrons.com (Postfix) with ESMTPSA id 9429320867;\n\tTue, 12 Sep 2017 21:01:50 +0200 (CEST)"
        ],
        "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=none autolearn=unavailable\n\tautolearn_force=no version=3.4.0",
        "From": "Maxime Ripard <maxime.ripard@free-electrons.com>",
        "To": "Tom Rini <trini@konsulko.com>,\n\tJagan Teki <jagan@openedev.com>",
        "Date": "Tue, 12 Sep 2017 21:01:37 +0200",
        "Message-Id": "<87f4f66f2cc60d14667fafe84b3c9f3ddd252779.1505242834.git-series.maxime.ripard@free-electrons.com>",
        "X-Mailer": "git-send-email 2.13.5",
        "In-Reply-To": [
            "<cover.afe89ac52a0b82d1c12952c3cb82bb3762c85fa8.1505242834.git-series.maxime.ripard@free-electrons.com>",
            "<cover.afe89ac52a0b82d1c12952c3cb82bb3762c85fa8.1505242834.git-series.maxime.ripard@free-electrons.com>"
        ],
        "References": [
            "<cover.afe89ac52a0b82d1c12952c3cb82bb3762c85fa8.1505242834.git-series.maxime.ripard@free-electrons.com>",
            "<cover.afe89ac52a0b82d1c12952c3cb82bb3762c85fa8.1505242834.git-series.maxime.ripard@free-electrons.com>"
        ],
        "Cc": "Thomas Petazzoni <thomas.petazzoni@free-electrons.com>, marex@denx.de,\n\tu-boot@lists.denx.de, Maxime Ripard <maxime.ripard@free-electrons.com>",
        "Subject": "[U-Boot] [PATCH v2 09/14] sunxi: imply USB_GADGET",
        "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": "A good number of our boards have USB_GADGET enabled. Imply it so that all\nthe boards can benefit from it, and remove some boilerplate from our\ndefconfigs.\n\nReviewed-by: Simon Glass <sjg@chromium.org>\nSigned-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>\n---\n arch/arm/Kconfig                               | 1 +\n configs/A13-OLinuXino_defconfig                | 1 -\n configs/A20-OLinuXino-Lime2-eMMC_defconfig     | 1 -\n configs/A20-OLinuXino-Lime2_defconfig          | 1 -\n configs/CHIP_defconfig                         | 1 -\n configs/CHIP_pro_defconfig                     | 1 -\n configs/Cubietruck_defconfig                   | 1 -\n configs/Nintendo_NES_Classic_Edition_defconfig | 1 -\n configs/Sinlinx_SinA33_defconfig               | 1 -\n configs/parrot_r16_defconfig                   | 1 -\n 10 files changed, 1 insertion(+), 9 deletions(-)",
    "diff": "diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig\nindex 53eae8953e0b..1eb59c591a54 100644\n--- a/arch/arm/Kconfig\n+++ b/arch/arm/Kconfig\n@@ -705,6 +705,7 @@ config ARCH_SUNXI\n \timply SPL_POWER_SUPPORT\n \timply SPL_SERIAL_SUPPORT\n \timply USB_FUNCTION_FASTBOOT\n+\timply USB_GADGET\n \n config TARGET_TS4600\n \tbool \"Support TS4600\"\ndiff --git a/configs/A13-OLinuXino_defconfig b/configs/A13-OLinuXino_defconfig\nindex ae790164dff7..e55dbff44d36 100644\n--- a/configs/A13-OLinuXino_defconfig\n+++ b/configs/A13-OLinuXino_defconfig\n@@ -31,5 +31,4 @@ CONFIG_AXP_ALDO3_VOLT=3300\n CONFIG_USB_EHCI_HCD=y\n CONFIG_USB_MUSB_GADGET=y\n CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y\n-CONFIG_USB_GADGET=y\n CONFIG_USB_GADGET_DOWNLOAD=y\ndiff --git a/configs/A20-OLinuXino-Lime2-eMMC_defconfig b/configs/A20-OLinuXino-Lime2-eMMC_defconfig\nindex b136af66b71f..9491708d80c6 100644\n--- a/configs/A20-OLinuXino-Lime2-eMMC_defconfig\n+++ b/configs/A20-OLinuXino-Lime2-eMMC_defconfig\n@@ -33,5 +33,4 @@ CONFIG_SCSI=y\n CONFIG_USB_EHCI_HCD=y\n CONFIG_USB_MUSB_GADGET=y\n CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y\n-CONFIG_USB_GADGET=y\n CONFIG_USB_GADGET_DOWNLOAD=y\ndiff --git a/configs/A20-OLinuXino-Lime2_defconfig b/configs/A20-OLinuXino-Lime2_defconfig\nindex ebb435f30956..2bb8ee8c9ebd 100644\n--- a/configs/A20-OLinuXino-Lime2_defconfig\n+++ b/configs/A20-OLinuXino-Lime2_defconfig\n@@ -32,5 +32,4 @@ CONFIG_SCSI=y\n CONFIG_USB_EHCI_HCD=y\n CONFIG_USB_MUSB_GADGET=y\n CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y\n-CONFIG_USB_GADGET=y\n CONFIG_USB_GADGET_DOWNLOAD=y\ndiff --git a/configs/CHIP_defconfig b/configs/CHIP_defconfig\nindex 7d50d0533dcd..b9f70d240c3c 100644\n--- a/configs/CHIP_defconfig\n+++ b/configs/CHIP_defconfig\n@@ -22,6 +22,5 @@ CONFIG_AXP_ALDO4_VOLT=3300\n CONFIG_USB_EHCI_HCD=y\n CONFIG_USB_MUSB_GADGET=y\n CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y\n-CONFIG_USB_GADGET=y\n CONFIG_USB_GADGET_DOWNLOAD=y\n CONFIG_OF_LIBFDT_OVERLAY=y\ndiff --git a/configs/CHIP_pro_defconfig b/configs/CHIP_pro_defconfig\nindex 76daf477ec87..74f6eb10fc01 100644\n--- a/configs/CHIP_pro_defconfig\n+++ b/configs/CHIP_pro_defconfig\n@@ -27,6 +27,5 @@ CONFIG_AXP_ALDO4_VOLT=3300\n CONFIG_USB_EHCI_HCD=y\n CONFIG_USB_MUSB_GADGET=y\n CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y\n-CONFIG_USB_GADGET=y\n CONFIG_USB_GADGET_DOWNLOAD=y\n CONFIG_OF_LIBFDT_OVERLAY=y\ndiff --git a/configs/Cubietruck_defconfig b/configs/Cubietruck_defconfig\nindex 1b2989d364f6..458e2a9d8b04 100644\n--- a/configs/Cubietruck_defconfig\n+++ b/configs/Cubietruck_defconfig\n@@ -32,5 +32,4 @@ CONFIG_SCSI=y\n CONFIG_USB_EHCI_HCD=y\n CONFIG_USB_MUSB_GADGET=y\n CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y\n-CONFIG_USB_GADGET=y\n CONFIG_USB_GADGET_DOWNLOAD=y\ndiff --git a/configs/Nintendo_NES_Classic_Edition_defconfig b/configs/Nintendo_NES_Classic_Edition_defconfig\nindex 5986764a14b9..e031dd8f5d5f 100644\n--- a/configs/Nintendo_NES_Classic_Edition_defconfig\n+++ b/configs/Nintendo_NES_Classic_Edition_defconfig\n@@ -22,5 +22,4 @@ CONFIG_AXP_DLDO1_VOLT=3300\n CONFIG_AXP_ELDO2_VOLT=1800\n CONFIG_USB_MUSB_GADGET=y\n CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y\n-CONFIG_USB_GADGET=y\n CONFIG_USB_GADGET_DOWNLOAD=y\ndiff --git a/configs/Sinlinx_SinA33_defconfig b/configs/Sinlinx_SinA33_defconfig\nindex 9299aedd6019..143a9b4b6c10 100644\n--- a/configs/Sinlinx_SinA33_defconfig\n+++ b/configs/Sinlinx_SinA33_defconfig\n@@ -27,5 +27,4 @@ CONFIG_DFU_RAM=y\n CONFIG_USB_EHCI_HCD=y\n CONFIG_USB_MUSB_GADGET=y\n CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y\n-CONFIG_USB_GADGET=y\n CONFIG_USB_GADGET_DOWNLOAD=y\ndiff --git a/configs/parrot_r16_defconfig b/configs/parrot_r16_defconfig\nindex 57db9587fe77..b36b9efec650 100644\n--- a/configs/parrot_r16_defconfig\n+++ b/configs/parrot_r16_defconfig\n@@ -23,5 +23,4 @@ CONFIG_FASTBOOT_FLASH_MMC_DEV=0\n CONFIG_USB_EHCI_HCD=y\n CONFIG_USB_MUSB_GADGET=y\n CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y\n-CONFIG_USB_GADGET=y\n CONFIG_USB_GADGET_DOWNLOAD=y\n",
    "prefixes": [
        "U-Boot",
        "v2",
        "09/14"
    ]
}