get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2230083,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2230083/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-gpio/patch/20260429074356.118420-5-herve.codina@bootlin.com/",
    "project": {
        "id": 42,
        "url": "http://patchwork.ozlabs.org/api/1.1/projects/42/?format=api",
        "name": "Linux GPIO development",
        "link_name": "linux-gpio",
        "list_id": "linux-gpio.vger.kernel.org",
        "list_email": "linux-gpio@vger.kernel.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": ""
    },
    "msgid": "<20260429074356.118420-5-herve.codina@bootlin.com>",
    "date": "2026-04-29T07:43:40",
    "name": "[v2,04/17] ASoC: simple-amplifier: Add missing headers",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "f4241f88da0931f6e578d28b016163b5838e4615",
    "submitter": {
        "id": 81983,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/81983/?format=api",
        "name": "Herve Codina",
        "email": "herve.codina@bootlin.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-gpio/patch/20260429074356.118420-5-herve.codina@bootlin.com/mbox/",
    "series": [
        {
            "id": 502009,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/502009/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-gpio/list/?series=502009",
            "date": "2026-04-29T07:43:41",
            "name": "ASoC: Add support for GPIOs driven amplifiers",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/502009/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2230083/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2230083/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "\n <linux-gpio+bounces-35760-incoming=patchwork.ozlabs.org@vger.kernel.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "linux-gpio@vger.kernel.org"
        ],
        "Delivered-To": "patchwork-incoming@legolas.ozlabs.org",
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=bootlin.com header.i=@bootlin.com header.a=rsa-sha256\n header.s=dkim header.b=rIY51K/E;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=172.234.253.10; helo=sea.lore.kernel.org;\n envelope-from=linux-gpio+bounces-35760-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)",
            "smtp.subspace.kernel.org;\n\tdkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com\n header.b=\"rIY51K/E\"",
            "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=185.246.85.4",
            "smtp.subspace.kernel.org;\n dmarc=pass (p=reject dis=none) header.from=bootlin.com",
            "smtp.subspace.kernel.org;\n spf=pass smtp.mailfrom=bootlin.com"
        ],
        "Received": [
            "from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g58Xf0Vw3z1yHv\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 29 Apr 2026 17:47:30 +1000 (AEST)",
            "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sea.lore.kernel.org (Postfix) with ESMTP id 58A5C30A4ABC\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 29 Apr 2026 07:44:25 +0000 (UTC)",
            "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 2A3F33A6EE3;\n\tWed, 29 Apr 2026 07:44:24 +0000 (UTC)",
            "from smtpout-03.galae.net (smtpout-03.galae.net [185.246.85.4])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id 8F0843A6B6F\n\tfor <linux-gpio@vger.kernel.org>; Wed, 29 Apr 2026 07:44:21 +0000 (UTC)",
            "from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233])\n\tby smtpout-03.galae.net (Postfix) with ESMTPS id 3BABC4E42B68;\n\tWed, 29 Apr 2026 07:44:20 +0000 (UTC)",
            "from mail.galae.net (mail.galae.net [212.83.136.155])\n\tby smtpout-01.galae.net (Postfix) with ESMTPS id 0A030601DF;\n\tWed, 29 Apr 2026 07:44:20 +0000 (UTC)",
            "from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon)\n with ESMTPSA id 715D8107294F3;\n\tWed, 29 Apr 2026 09:44:16 +0200 (CEST)"
        ],
        "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1777448663; cv=none;\n b=nkfl981p4Rj7+EWJ0lk/1BS8C1zVIGaJm4kTcxwmaUeRWanMxYyDyuHtvI6vmabhCNG4vuRdhAd1ABczqIpIEGszpCqAKgf5nGTKNM9xFT38SmM3Ft0KaSZnM/tEcteLrQsdtCCnE0ruUk4JHC9cnuqjJeqeeFM7ZHnts7W4PzY=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1777448663; c=relaxed/simple;\n\tbh=/7MK0+7D2zQ9okqF45iERYyWi2zb50kZTdI6f1eNHhA=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=ji8AYHpMHH9GlyU5OsTbXD8Bbku3AD17CUtSdfTAUPAhv/JTxreYzBvKHrsFptn2Bj7WouRg+dQllZe5DxdrU7DsVlVG3vQOoz3unBEhc5OpToNXyomA+Vy23zuHRPAoqp7SvBw4vqpC37lsJemNi0VyQe3J8MHRhH1pmpnnvJc=",
        "ARC-Authentication-Results": "i=1; smtp.subspace.kernel.org;\n dmarc=pass (p=reject dis=none) header.from=bootlin.com;\n spf=pass smtp.mailfrom=bootlin.com;\n dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com\n header.b=rIY51K/E; arc=none smtp.client-ip=185.246.85.4",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim;\n\tt=1777448658; h=from:subject:date:message-id:to:cc:mime-version:\n\t content-transfer-encoding:in-reply-to:references;\n\tbh=UpX1RydAe9Wy6x8sEQ6RoP1Wnj4DBzp1DQXcqrkR8BM=;\n\tb=rIY51K/ELMp4p01WgmvPG8AmU93dnznt1mattjfCZwSjFIFGGtKqs5QJ+9fvC8sPoPMFCb\n\tFC1szJqbK1VMyhGteLyw1fqHeDwohQllqI3tEGwC6GZeV3dhB8YH98vOWZFzKJ00XM51Bu\n\tpCP+l9WBAS7Fivhu9OWTQ/G4Ebq+uOORYjW8eLD1mjKJsmo9m6RQPV8cJhTNoig4xizvNV\n\tFqcl44z6ZNjTLo3cjfvWqQOoqQk41+c0ZFQ28KsUBR59y6W2UOOZ6NJ9SrwvxhKzYk0kbU\n\thXeToX+7Ghonvr/V/c1nGX88jvN9sYKOtZn/beHroehUE7/K3dTRIhVPlZ+PVA==",
        "From": "Herve Codina <herve.codina@bootlin.com>",
        "To": "Herve Codina <herve.codina@bootlin.com>,\n\tBartosz Golaszewski <brgl@kernel.org>,\n\tLinus Walleij <linusw@kernel.org>,\n\tLiam Girdwood <lgirdwood@gmail.com>,\n\tMark Brown <broonie@kernel.org>,\n\tRob Herring <robh@kernel.org>,\n\tKrzysztof Kozlowski <krzk+dt@kernel.org>,\n\tConor Dooley <conor+dt@kernel.org>,\n\tSaravana Kannan <saravanak@kernel.org>,\n\tJaroslav Kysela <perex@perex.cz>,\n\tTakashi Iwai <tiwai@suse.com>",
        "Cc": "linux-sound@vger.kernel.org,\n\tlinux-gpio@vger.kernel.org,\n\tdevicetree@vger.kernel.org,\n\tlinux-kernel@vger.kernel.org,\n\tChristophe Leroy <christophe.leroy@csgroup.eu>,\n\tThomas Petazzoni <thomas.petazzoni@bootlin.com>",
        "Subject": "[PATCH v2 04/17] ASoC: simple-amplifier: Add missing headers",
        "Date": "Wed, 29 Apr 2026 09:43:40 +0200",
        "Message-ID": "<20260429074356.118420-5-herve.codina@bootlin.com>",
        "X-Mailer": "git-send-email 2.53.0",
        "In-Reply-To": "<20260429074356.118420-1-herve.codina@bootlin.com>",
        "References": "<20260429074356.118420-1-herve.codina@bootlin.com>",
        "Precedence": "bulk",
        "X-Mailing-List": "linux-gpio@vger.kernel.org",
        "List-Id": "<linux-gpio.vger.kernel.org>",
        "List-Subscribe": "<mailto:linux-gpio+subscribe@vger.kernel.org>",
        "List-Unsubscribe": "<mailto:linux-gpio+unsubscribe@vger.kernel.org>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-Last-TLS-Session-Version": "TLSv1.3"
    },
    "content": "The simple-amplifier driver is a platform device driver.\n\nAdd missing include files related to this kind of driver.\n\nSigned-off-by: Herve Codina <herve.codina@bootlin.com>\n---\n sound/soc/codecs/simple-amplifier.c | 2 ++\n 1 file changed, 2 insertions(+)",
    "diff": "diff --git a/sound/soc/codecs/simple-amplifier.c b/sound/soc/codecs/simple-amplifier.c\nindex 41485445727d..5b44bcfef49e 100644\n--- a/sound/soc/codecs/simple-amplifier.c\n+++ b/sound/soc/codecs/simple-amplifier.c\n@@ -5,7 +5,9 @@\n  */\n \n #include <linux/gpio/consumer.h>\n+#include <linux/mod_devicetable.h>\n #include <linux/module.h>\n+#include <linux/platform_device.h>\n #include <linux/regulator/consumer.h>\n #include <sound/soc.h>\n \n",
    "prefixes": [
        "v2",
        "04/17"
    ]
}