get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 27657,
    "url": "http://patchwork.ozlabs.org/api/patches/27657/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20090526123414.17472.91588.stgit@terra/",
    "project": {
        "id": 2,
        "url": "http://patchwork.ozlabs.org/api/projects/2/?format=api",
        "name": "Linux PPC development",
        "link_name": "linuxppc-dev",
        "list_id": "linuxppc-dev.lists.ozlabs.org",
        "list_email": "linuxppc-dev@lists.ozlabs.org",
        "web_url": "https://github.com/linuxppc/wiki/wiki",
        "scm_url": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git",
        "webscm_url": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/",
        "list_archive_url": "https://lore.kernel.org/linuxppc-dev/",
        "list_archive_url_format": "https://lore.kernel.org/linuxppc-dev/{}/",
        "commit_url_format": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?id={}"
    },
    "msgid": "<20090526123414.17472.91588.stgit@terra>",
    "list_archive_url": "https://lore.kernel.org/linuxppc-dev/20090526123414.17472.91588.stgit@terra/",
    "date": "2009-05-26T12:34:14",
    "name": "[V5,5/5] Fabric bindings for STAC9766 on the Efika",
    "commit_ref": null,
    "pull_url": null,
    "state": "not-applicable",
    "archived": true,
    "hash": "791b95de371f7e3c1c4dd8e06990551f44d20830",
    "submitter": {
        "id": 375,
        "url": "http://patchwork.ozlabs.org/api/people/375/?format=api",
        "name": "jonsmirl@gmail.com",
        "email": "jonsmirl@gmail.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20090526123414.17472.91588.stgit@terra/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/27657/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/27657/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@ozlabs.org>",
        "X-Original-To": [
            "patchwork-incoming@bilbo.ozlabs.org",
            "linuxppc-dev@ozlabs.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@bilbo.ozlabs.org",
            "patchwork-incoming@ozlabs.org",
            "linuxppc-dev@ozlabs.org"
        ],
        "Received": [
            "from ozlabs.org (ozlabs.org [203.10.76.45])\n\t(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\n\t(Client CN \"mx.ozlabs.org\",\n\tIssuer \"CA Cert Signing Authority\" (verified OK))\n\tby bilbo.ozlabs.org (Postfix) with ESMTPS id EF9EEB7069\n\tfor <patchwork-incoming@bilbo.ozlabs.org>;\n\tTue, 26 May 2009 22:44:16 +1000 (EST)",
            "by ozlabs.org (Postfix)\n\tid D2DA9DF541; Tue, 26 May 2009 22:37:02 +1000 (EST)",
            "from ozlabs.org (localhost [127.0.0.1])\n\tby ozlabs.org (Postfix) with ESMTP id D05B1DF540\n\tfor <patchwork-incoming@ozlabs.org>;\n\tTue, 26 May 2009 22:37:02 +1000 (EST)",
            "from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.30])\n\tby ozlabs.org (Postfix) with ESMTP id 4EC76DE0D2\n\tfor <linuxppc-dev@ozlabs.org>; Tue, 26 May 2009 22:34:21 +1000 (EST)",
            "by yx-out-2324.google.com with SMTP id 8so1764131yxb.39\n\tfor <linuxppc-dev@ozlabs.org>; Tue, 26 May 2009 05:34:20 -0700 (PDT)",
            "by 10.90.89.18 with SMTP id m18mr7333329agb.95.1243341260800;\n\tTue, 26 May 2009 05:34:20 -0700 (PDT)",
            "from terra (c-76-109-159-38.hsd1.fl.comcast.net [76.109.159.38])\n\tby mx.google.com with ESMTPS id 39sm8937731aga.61.2009.05.26.05.34.15\n\t(version=TLSv1/SSLv3 cipher=RC4-MD5);\n\tTue, 26 May 2009 05:34:16 -0700 (PDT)",
            "from localhost ([127.0.0.1] helo=[127.0.1.1])\n\tby terra with esmtp (Exim 4.69) (envelope-from <jonsmirl@gmail.com>)\n\tid 1M8vrC-0004Zn-Ew; Tue, 26 May 2009 08:34:14 -0400"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; \n\th=domainkey-signature:received:received:received:subject:to:from:date\n\t:message-id:in-reply-to:references:user-agent:mime-version\n\t:content-type:content-transfer-encoding;\n\tbh=Zt9hZbt1sMT+1HORLUP6ySjsk69SUbuanTdwUwShZqg=;\n\tb=ZZuAWEZyIymut1qbZ8qfqClxp6Ovp/dZBADc/YXRDNsoJp1uBMyMhdl1Ztc2AJ8EYS\n\tS5nKVlmyxBzchWNVHf8LFujiwl3M9H596ym48ykXlhWGHmp7h+VLV1+eQq9qNILQ/Mmi\n\tdtH17zqrTpR7AOLXWsVTYUyoI8oPaiSZGL9T0=",
        "DomainKey-Signature": "a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;\n\th=subject:to:from:date:message-id:in-reply-to:references:user-agent\n\t:mime-version:content-type:content-transfer-encoding;\n\tb=q788+pW3QpAcqSOrlf3jXBajXcN9qd+Dsk5EoUVYYTV5cmiMBOsPZpZoR9GvFtUl0r\n\te+dmJX0g8q0p8pNXF2xN/cFcRObtvL33t2sLw2ZLDt7kGSy0NazFKr8h8G7XPpaNSMJQ\n\tHRlpzrDguMwt3tHcn7yAo9SXFJkdZRBrJKOAc=",
        "Subject": "[PATCH V5 5/5] Fabric bindings for STAC9766 on the Efika",
        "To": "grant.likely@secretlab.ca, linuxppc-dev@ozlabs.org,\n\talsa-devel@alsa-project.org, broonie@sirena.org.uk, timur@freescale.com",
        "From": "Jon Smirl <jonsmirl@gmail.com>",
        "Date": "Tue, 26 May 2009 08:34:14 -0400",
        "Message-ID": "<20090526123414.17472.91588.stgit@terra>",
        "In-Reply-To": "<20090526123235.17472.73912.stgit@terra>",
        "References": "<20090526123235.17472.73912.stgit@terra>",
        "User-Agent": "StGit/0.14.3.366.gf979",
        "MIME-Version": "1.0",
        "X-BeenThere": "linuxppc-dev@ozlabs.org",
        "X-Mailman-Version": "2.1.11",
        "Precedence": "list",
        "List-Id": "Linux on PowerPC Developers Mail List <linuxppc-dev.ozlabs.org>",
        "List-Unsubscribe": "<https://ozlabs.org/mailman/options/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@ozlabs.org?subject=unsubscribe>",
        "List-Archive": "<http://ozlabs.org/pipermail/linuxppc-dev>",
        "List-Post": "<mailto:linuxppc-dev@ozlabs.org>",
        "List-Help": "<mailto:linuxppc-dev-request@ozlabs.org?subject=help>",
        "List-Subscribe": "<https://ozlabs.org/mailman/listinfo/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@ozlabs.org?subject=subscribe>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Sender": "linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@ozlabs.org",
        "Errors-To": "linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@ozlabs.org"
    },
    "content": "Fabric bindings for STAC9766 AC97 codec on the Efika.\n\nSigned-off-by: Jon Smirl <jonsmirl@gmail.com>\n---\n sound/soc/fsl/Kconfig              |    8 +++\n sound/soc/fsl/Makefile             |    1 \n sound/soc/fsl/efika-audio-fabric.c |   90 ++++++++++++++++++++++++++++++++++++\n 3 files changed, 99 insertions(+), 0 deletions(-)\n create mode 100644 sound/soc/fsl/efika-audio-fabric.c",
    "diff": "diff --git a/sound/soc/fsl/Kconfig b/sound/soc/fsl/Kconfig\nindex 79579ae..f571c6e 100644\n--- a/sound/soc/fsl/Kconfig\n+++ b/sound/soc/fsl/Kconfig\n@@ -47,3 +47,11 @@ config SND_MPC52xx_SOC_PCM030\n \thelp\n \t  Say Y if you want to add support for sound on the Phytec pcm030 baseboard.\n \n+config SND_MPC52xx_SOC_EFIKA\n+\ttristate \"SoC AC97 Audio support for bbplan Efika and STAC9766\"\n+\tdepends on PPC_EFIKA\n+\tselect SND_SOC_MPC5200_AC97\n+\tselect SND_SOC_STAC9766\n+\thelp\n+\t  Say Y if you want to add support for sound on the Efika.\n+\ndiff --git a/sound/soc/fsl/Makefile b/sound/soc/fsl/Makefile\nindex 66d88c8..a83a739 100644\n--- a/sound/soc/fsl/Makefile\n+++ b/sound/soc/fsl/Makefile\n@@ -17,4 +17,5 @@ obj-$(CONFIG_SND_SOC_MPC5200_AC97) += mpc5200_psc_ac97.o\n \n # MPC5200 Machine Support\n obj-$(CONFIG_SND_MPC52xx_SOC_PCM030) += pcm030-audio-fabric.o\n+obj-$(CONFIG_SND_MPC52xx_SOC_EFIKA) += efika-audio-fabric.o\n \ndiff --git a/sound/soc/fsl/efika-audio-fabric.c b/sound/soc/fsl/efika-audio-fabric.c\nnew file mode 100644\nindex 0000000..85b0e75\n--- /dev/null\n+++ b/sound/soc/fsl/efika-audio-fabric.c\n@@ -0,0 +1,90 @@\n+/*\n+ * Efika driver for the PSC of the Freescale MPC52xx\n+ * configured as AC97 interface\n+ *\n+ * Copyright 2008 Jon Smirl, Digispeaker\n+ * Author: Jon Smirl <jonsmirl@gmail.com>\n+ *\n+ * This file is licensed under the terms of the GNU General Public License\n+ * version 2. This program is licensed \"as is\" without any warranty of any\n+ * kind, whether express or implied.\n+ */\n+\n+#include <linux/init.h>\n+#include <linux/module.h>\n+#include <linux/interrupt.h>\n+#include <linux/device.h>\n+#include <linux/delay.h>\n+#include <linux/of_device.h>\n+#include <linux/of_platform.h>\n+#include <linux/dma-mapping.h>\n+\n+#include <sound/core.h>\n+#include <sound/pcm.h>\n+#include <sound/pcm_params.h>\n+#include <sound/initval.h>\n+#include <sound/soc.h>\n+#include <sound/soc-of-simple.h>\n+\n+#include \"mpc5200_dma.h\"\n+#include \"mpc5200_psc_ac97.h\"\n+#include \"../codecs/stac9766.h\"\n+\n+static struct snd_soc_device device;\n+static struct snd_soc_card card;\n+\n+static struct snd_soc_dai_link efika_fabric_dai[] = {\n+{\n+\t.name = \"AC97\",\n+\t.stream_name = \"AC97 Analog\",\n+\t.codec_dai = &stac9766_dai[STAC9766_DAI_AC97_ANALOG],\n+\t.cpu_dai = &psc_ac97_dai[MPC5200_AC97_NORMAL],\n+},\n+{\n+\t.name = \"AC97\",\n+\t.stream_name = \"AC97 IEC958\",\n+\t.codec_dai = &stac9766_dai[STAC9766_DAI_AC97_DIGITAL],\n+\t.cpu_dai = &psc_ac97_dai[MPC5200_AC97_SPDIF],\n+},\n+};\n+\n+static __init int efika_fabric_init(void)\n+{\n+\tstruct platform_device *pdev;\n+\tint rc;\n+\n+\tif (!machine_is_compatible(\"bplan,efika\"))\n+\t\treturn -ENODEV;\n+\n+\tcard.platform = &mpc5200_audio_dma_platform;\n+\tcard.name = \"Efika\";\n+\tcard.dai_link = efika_fabric_dai;\n+\tcard.num_links = ARRAY_SIZE(efika_fabric_dai);\n+\n+\tdevice.card = &card;\n+\tdevice.codec_dev = &soc_codec_dev_stac9766;\n+\n+\tpdev = platform_device_alloc(\"soc-audio\", 1);\n+\tif (!pdev) {\n+\t\tpr_err(\"efika_fabric_init: platform_device_alloc() failed\\n\");\n+\t\treturn -ENODEV;\n+\t}\n+\n+\tplatform_set_drvdata(pdev, &device);\n+\tdevice.dev = &pdev->dev;\n+\n+\trc = platform_device_add(pdev);\n+\tif (rc) {\n+\t\tpr_err(\"efika_fabric_init: platform_device_add() failed\\n\");\n+\t\treturn -ENODEV;\n+\t}\n+\treturn 0;\n+}\n+\n+module_init(efika_fabric_init);\n+\n+\n+MODULE_AUTHOR(\"Jon Smirl <jonsmirl@gmail.com>\");\n+MODULE_DESCRIPTION(DRV_NAME \": mpc5200 Efika fabric driver\");\n+MODULE_LICENSE(\"GPL\");\n+\n",
    "prefixes": [
        "V5",
        "5/5"
    ]
}