get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 811319,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/811319/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/1504848453-9524-1-git-send-email-nicoleotsuka@gmail.com/",
    "project": {
        "id": 2,
        "url": "http://patchwork.ozlabs.org/api/1.2/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": "<1504848453-9524-1-git-send-email-nicoleotsuka@gmail.com>",
    "list_archive_url": "https://lore.kernel.org/linuxppc-dev/1504848453-9524-1-git-send-email-nicoleotsuka@gmail.com/",
    "date": "2017-09-08T05:27:33",
    "name": "ASoC: fsl-asoc-card: Don't error out if ENOTSUPP",
    "commit_ref": null,
    "pull_url": null,
    "state": "not-applicable",
    "archived": false,
    "hash": "bbcc4832ca71c9ce41265e66abe23901f36cb4ad",
    "submitter": {
        "id": 36301,
        "url": "http://patchwork.ozlabs.org/api/1.2/people/36301/?format=api",
        "name": "Nicolin Chen",
        "email": "nicoleotsuka@gmail.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/1504848453-9524-1-git-send-email-nicoleotsuka@gmail.com/mbox/",
    "series": [
        {
            "id": 2102,
            "url": "http://patchwork.ozlabs.org/api/1.2/series/2102/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/list/?series=2102",
            "date": "2017-09-08T05:27:33",
            "name": "ASoC: fsl-asoc-card: Don't error out if ENOTSUPP",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/2102/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/811319/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/811319/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>",
        "X-Original-To": [
            "patchwork-incoming@ozlabs.org",
            "linuxppc-dev@lists.ozlabs.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@ozlabs.org",
            "linuxppc-dev@lists.ozlabs.org"
        ],
        "Received": [
            "from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\t(using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xpQr538Rdz9s3T\n\tfor <patchwork-incoming@ozlabs.org>;\n\tFri,  8 Sep 2017 15:29:57 +1000 (AEST)",
            "from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 3xpQr51VDyzDql9\n\tfor <patchwork-incoming@ozlabs.org>;\n\tFri,  8 Sep 2017 15:29:57 +1000 (AEST)",
            "from mail-pg0-x242.google.com (mail-pg0-x242.google.com\n\t[IPv6:2607:f8b0:400e:c05::242])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128\n\tbits)) (No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 3xpQpQ04bbzDqGV\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tFri,  8 Sep 2017 15:28:29 +1000 (AEST)",
            "by mail-pg0-x242.google.com with SMTP id v82so886132pgb.1\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tThu, 07 Sep 2017 22:28:29 -0700 (PDT)",
            "from Asurada-CZ80.localdomain (thunderhill.nvidia.com.\n\t[216.228.112.22]) by smtp.gmail.com with ESMTPSA id\n\td196sm1703222pfd.102.2017.09.07.22.28.26\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tThu, 07 Sep 2017 22:28:27 -0700 (PDT)"
        ],
        "Authentication-Results": [
            "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"fPFmAEz7\"; dkim-atps=neutral",
            "lists.ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"fPFmAEz7\"; dkim-atps=neutral",
            "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=gmail.com\n\t(client-ip=2607:f8b0:400e:c05::242; helo=mail-pg0-x242.google.com;\n\tenvelope-from=nicoleotsuka@gmail.com; receiver=<UNKNOWN>)",
            "lists.ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"fPFmAEz7\"; dkim-atps=neutral"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id;\n\tbh=sQDmCRtCkmoIQsKNRiOqTyWmzpBEJJsTS45OaXC71Xw=;\n\tb=fPFmAEz7imKRS2WnCQCPFZb7ku/n8+LjVI1NukiLDSlHxqfdWtPtZedWV/68qkng/E\n\teyxs00uauY97FL2KKn2RvMQuyG8NNj2HdhytExhO2KO28BlRGbi0CTv0xjn2RTnreGTu\n\tu45gH1X57QvvMnyaUAiKNs0fXMAdMUBe2a+XY0dPuO3YU3iV6QVGTc3xitCj1l0IBIVg\n\t7JiOpGGmfuwksa5pZ6AXCgFasM2k+5VCJ2gZHapOvz0TY2ecjs/UOFDma5VJWCe4pwMa\n\tZr5u2bq62IOzl0DY1jNkye5zIaWeF3fRRsbPPPOUYshBinRCGrzPkCBU+TjSGXC37ELe\n\tZI6g==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id;\n\tbh=sQDmCRtCkmoIQsKNRiOqTyWmzpBEJJsTS45OaXC71Xw=;\n\tb=fjZMSvHI+hFmetTIjBIEq/83B8LSQMJ5hRE1Hg13/07jcP1TcsxtzFWDTogAMn18qE\n\tl2Lej6qqauBW1Thk1h0lvdXkI1RhQ3q+4bjO9J61LcSCd3vNC4VKWl4bkFUXmRQjedR0\n\ttjaPPtkvyvToeN92XGTXbolYz4GToE2w5jKp1M/u1HAPZn5ZAWWVga2o1bYQfCcIdQyV\n\tOi0qSXBNm5qc6i90k9bYyjbmpb1z644MStcM4Zw35FOdqbwOJP042l7QXl0VoQnTOsgU\n\tk7pOk42k+4G7314E8xtufBbE7DZpcs7M/WfmwMJiSjvU7Bnd0wvPc85GC2ccu+10n3ME\n\t4/uw==",
        "X-Gm-Message-State": "AHPjjUjR8+0uebkBzHPUIQEtHFY68E1WSWmMNVtbZv/BKcnduNs6CMUa\n\tiw5SWECE8w73fw==",
        "X-Google-Smtp-Source": "ADKCNb61VT2C+CJ0ynkcZQUJrasUDPxNMbvQPzu1QapYI3WXNO5E1wZtdbjmoKg5k4cNKstNLpfx4g==",
        "X-Received": "by 10.98.204.69 with SMTP id a66mr1947424pfg.132.1504848507682; \n\tThu, 07 Sep 2017 22:28:27 -0700 (PDT)",
        "From": "Nicolin Chen <nicoleotsuka@gmail.com>",
        "To": "broonie@kernel.org",
        "Subject": "[PATCH] ASoC: fsl-asoc-card: Don't error out if ENOTSUPP",
        "Date": "Thu,  7 Sep 2017 22:27:33 -0700",
        "Message-Id": "<1504848453-9524-1-git-send-email-nicoleotsuka@gmail.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "X-BeenThere": "linuxppc-dev@lists.ozlabs.org",
        "X-Mailman-Version": "2.1.23",
        "Precedence": "list",
        "List-Id": "Linux on PowerPC Developers Mail List\n\t<linuxppc-dev.lists.ozlabs.org>",
        "List-Unsubscribe": "<https://lists.ozlabs.org/options/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.ozlabs.org/pipermail/linuxppc-dev/>",
        "List-Post": "<mailto:linuxppc-dev@lists.ozlabs.org>",
        "List-Help": "<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=help>",
        "List-Subscribe": "<https://lists.ozlabs.org/listinfo/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=subscribe>",
        "Cc": "alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, tiwai@suse.com,\n\tlgirdwood@gmail.com, perex@perex.cz, fabio.estevam@nxp.com,\n\tlinuxppc-dev@lists.ozlabs.org",
        "Errors-To": "linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org",
        "Sender": "\"Linuxppc-dev\"\n\t<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>"
    },
    "content": "The snd_soc_component_set_sysclk() and snd_soc_dai_set_tdm_slot()\nin the soc-core.c will return -ENOTSUPP if there is no function\nimplementation for them in the dai and component drivers.\n\nSo this patch tries to ignore this errno.\n\nSigned-off-by: Nicolin Chen <nicoleotsuka@gmail.com>\n---\n sound/soc/fsl/fsl-asoc-card.c | 10 +++++-----\n 1 file changed, 5 insertions(+), 5 deletions(-)",
    "diff": "diff --git a/sound/soc/fsl/fsl-asoc-card.c b/sound/soc/fsl/fsl-asoc-card.c\nindex 2db4d0c..3772abb 100644\n--- a/sound/soc/fsl/fsl-asoc-card.c\n+++ b/sound/soc/fsl/fsl-asoc-card.c\n@@ -166,7 +166,7 @@ static int fsl_asoc_card_hw_params(struct snd_pcm_substream *substream,\n \tret = snd_soc_dai_set_sysclk(rtd->cpu_dai, cpu_priv->sysclk_id[tx],\n \t\t\t\t     cpu_priv->sysclk_freq[tx],\n \t\t\t\t     cpu_priv->sysclk_dir[tx]);\n-\tif (ret) {\n+\tif (ret && ret != -ENOTSUPP) {\n \t\tdev_err(dev, \"failed to set sysclk for cpu dai\\n\");\n \t\treturn ret;\n \t}\n@@ -174,7 +174,7 @@ static int fsl_asoc_card_hw_params(struct snd_pcm_substream *substream,\n \tif (cpu_priv->slot_width) {\n \t\tret = snd_soc_dai_set_tdm_slot(rtd->cpu_dai, 0x3, 0x3, 2,\n \t\t\t\t\t       cpu_priv->slot_width);\n-\t\tif (ret) {\n+\t\tif (ret && ret != -ENOTSUPP) {\n \t\t\tdev_err(dev, \"failed to set TDM slot for cpu dai\\n\");\n \t\t\treturn ret;\n \t\t}\n@@ -270,7 +270,7 @@ static int fsl_asoc_card_set_bias_level(struct snd_soc_card *card,\n \n \t\tret = snd_soc_dai_set_sysclk(codec_dai, codec_priv->fll_id,\n \t\t\t\t\t     pll_out, SND_SOC_CLOCK_IN);\n-\t\tif (ret) {\n+\t\tif (ret && ret != -ENOTSUPP) {\n \t\t\tdev_err(dev, \"failed to set SYSCLK: %d\\n\", ret);\n \t\t\treturn ret;\n \t\t}\n@@ -283,7 +283,7 @@ static int fsl_asoc_card_set_bias_level(struct snd_soc_card *card,\n \t\tret = snd_soc_dai_set_sysclk(codec_dai, codec_priv->mclk_id,\n \t\t\t\t\t     codec_priv->mclk_freq,\n \t\t\t\t\t     SND_SOC_CLOCK_IN);\n-\t\tif (ret) {\n+\t\tif (ret && ret != -ENOTSUPP) {\n \t\t\tdev_err(dev, \"failed to switch away from FLL: %d\\n\", ret);\n \t\t\treturn ret;\n \t\t}\n@@ -459,7 +459,7 @@ static int fsl_asoc_card_late_probe(struct snd_soc_card *card)\n \n \tret = snd_soc_dai_set_sysclk(codec_dai, codec_priv->mclk_id,\n \t\t\t\t     codec_priv->mclk_freq, SND_SOC_CLOCK_IN);\n-\tif (ret) {\n+\tif (ret && ret != -ENOTSUPP) {\n \t\tdev_err(dev, \"failed to set sysclk in %s\\n\", __func__);\n \t\treturn ret;\n \t}\n",
    "prefixes": []
}