get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2195202,
    "url": "http://patchwork.ozlabs.org/api/patches/2195202/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20260210143809.297565-1-n7l8m4@u.northwestern.edu/",
    "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": "<20260210143809.297565-1-n7l8m4@u.northwestern.edu>",
    "list_archive_url": "https://lore.kernel.org/linuxppc-dev/20260210143809.297565-1-n7l8m4@u.northwestern.edu/",
    "date": "2026-02-10T14:38:09",
    "name": "Revert \"ASoC: fsl_xcvr: fix missing lock in fsl_xcvr_mode_put()\"",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "8d7e0c418b62c34eac7197e36b8e4e01d740f59c",
    "submitter": {
        "id": 92561,
        "url": "http://patchwork.ozlabs.org/api/people/92561/?format=api",
        "name": "Ziyi Guo",
        "email": "n7l8m4@u.northwestern.edu"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20260210143809.297565-1-n7l8m4@u.northwestern.edu/mbox/",
    "series": [
        {
            "id": 491687,
            "url": "http://patchwork.ozlabs.org/api/series/491687/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/list/?series=491687",
            "date": "2026-02-10T14:38:09",
            "name": "Revert \"ASoC: fsl_xcvr: fix missing lock in fsl_xcvr_mode_put()\"",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/491687/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2195202/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2195202/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "\n <linuxppc-dev+bounces-16777-incoming=patchwork.ozlabs.org@lists.ozlabs.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "linuxppc-dev@lists.ozlabs.org"
        ],
        "Delivered-To": "patchwork-incoming@legolas.ozlabs.org",
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=u-northwestern-edu.20230601.gappssmtp.com\n header.i=@u-northwestern-edu.20230601.gappssmtp.com header.a=rsa-sha256\n header.s=20230601 header.b=NEnXAja0;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org\n (client-ip=112.213.38.117; helo=lists.ozlabs.org;\n envelope-from=linuxppc-dev+bounces-16777-incoming=patchwork.ozlabs.org@lists.ozlabs.org;\n receiver=patchwork.ozlabs.org)",
            "lists.ozlabs.org;\n arc=none smtp.remote-ip=\"2607:f8b0:4864:20::734\"",
            "lists.ozlabs.org;\n dmarc=pass (p=none dis=none) header.from=u.northwestern.edu",
            "lists.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=u-northwestern-edu.20230601.gappssmtp.com\n header.i=@u-northwestern-edu.20230601.gappssmtp.com header.a=rsa-sha256\n header.s=20230601 header.b=NEnXAja0;\n\tdkim-atps=neutral",
            "lists.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=u.northwestern.edu\n (client-ip=2607:f8b0:4864:20::734; helo=mail-qk1-x734.google.com;\n envelope-from=n7l8m4@u.northwestern.edu; receiver=lists.ozlabs.org)"
        ],
        "Received": [
            "from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1 raw public key)\n server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4f9PLg6LvXz1xvb\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 11 Feb 2026 01:38:18 +1100 (AEDT)",
            "from boromir.ozlabs.org (localhost [127.0.0.1])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 4f9PLf2kTQz2xQ1;\n\tWed, 11 Feb 2026 01:38:18 +1100 (AEDT)",
            "from mail-qk1-x734.google.com (mail-qk1-x734.google.com\n [IPv6:2607:f8b0:4864:20::734])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n\t(No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 4f9PLc5qXgz2xKx\n\tfor <linuxppc-dev@lists.ozlabs.org>; Wed, 11 Feb 2026 01:38:15 +1100 (AEDT)",
            "by mail-qk1-x734.google.com with SMTP id\n af79cd13be357-8cb1c4679ebso146175685a.0\n        for <linuxppc-dev@lists.ozlabs.org>;\n Tue, 10 Feb 2026 06:38:15 -0800 (PST)",
            "from security.cs.northwestern.edu (security.cs.northwestern.edu.\n [165.124.184.136])\n        by smtp.gmail.com with ESMTPSA id\n af79cd13be357-8caf9a1575asm1132760985a.32.2026.02.10.06.38.11\n        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n        Tue, 10 Feb 2026 06:38:11 -0800 (PST)"
        ],
        "ARC-Seal": "i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1770734298;\n\tcv=none;\n b=YusBIoeafHLIIqoJJPOtOwAc1KTC9HI+SgTpVvoX5y1HjuQGGry04UREzWKpBubiUKDjSPBg9dda3XxiLca3qawMaUf5miB3NYEbGKArpeKbxoOOSwUaI6ZQtxAfePgEnpemLiTMkk5OsCFDrpeosACSPtLWgdrnJVIeCRvk8rMmhPBWYIhVbAAPBWTrBdhEnrU5dK0xSGeZiPS1O4bOepzxXF8UrvVIqt1r1FWthFsYcn7SNpd7xTv/DUwk2et3cXnPq3ZbLMvOT8NBGS0OCzfG5H35o0/zJi7FLyp8YaixxJdU89JZtZ6gC3yaaGyUsgSmGCPOINcPVwJf5sV4Jg==",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707;\n\tt=1770734298; c=relaxed/relaxed;\n\tbh=pkYuyRwsnTcRNpSowH2WXxBKWT/+EdlbZCcoZtFynkQ=;\n\th=From:To:Cc:Subject:Date:Message-Id:MIME-Version;\n b=HOsteZJzDVC737Aq37mvvx/UdBkvfWI3j8pi9kP1dGTeocx7omSGcWfuQc+wZ6o6bgvgc5vWJ9jSds0Pg4tsa3NyCLCxEvFUV05aHuHpfMQBAFVXnSoz1Q4/Qr4JKJYMRKmtpLbgYSeH8GH4c/eQIHTY8xBQgD0JmGwPDKJMykjYXPkulKC4iG77XNPnO1R4W5gYR/iT72GClzdoez/QNfwpU29SRfmauLvSYHKdjytLROxHM+vKVcAJ9HsP0XdzZVHjad59VfNDocYEYvIlPuq5E7nYBIetY3tkkTkl0+XFwhnjUi8FZygy2UKnLu/R9iUxOV6qxf2wnbBzVDOAkw==",
        "ARC-Authentication-Results": "i=1; lists.ozlabs.org;\n dmarc=pass (p=none dis=none) header.from=u.northwestern.edu;\n dkim=pass (2048-bit key;\n unprotected) header.d=u-northwestern-edu.20230601.gappssmtp.com\n header.i=@u-northwestern-edu.20230601.gappssmtp.com header.a=rsa-sha256\n header.s=20230601 header.b=NEnXAja0; dkim-atps=neutral;\n spf=pass (client-ip=2607:f8b0:4864:20::734; helo=mail-qk1-x734.google.com;\n envelope-from=n7l8m4@u.northwestern.edu;\n receiver=lists.ozlabs.org) smtp.mailfrom=u.northwestern.edu",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=u-northwestern-edu.20230601.gappssmtp.com; s=20230601; t=1770734292;\n x=1771339092; darn=lists.ozlabs.org;\n        h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n         :to:from:from:to:cc:subject:date:message-id:reply-to;\n        bh=pkYuyRwsnTcRNpSowH2WXxBKWT/+EdlbZCcoZtFynkQ=;\n        b=NEnXAja0ZUal5rC8HjzCW/foxqmedO06g2gq072zLiBAr69WvgmbADM6nbFXDfenyn\n         J+V69YdNIsbRoHzWFP/ulWIebh91oaQ53CXa/L1KEymckm0sum8OR7rGN1/Pv7OjCGcu\n         xHnJwlHliR42T38PL7xW2cfWtE3sdV0pjHVZBsPpNN7UvAEvUgRFSruflwAP9slc/QFf\n         8rio1YWbLwVQwm+6H8bFWFvjp7AqZZ5egwYfiRPzcMUJwJuAPQS3406Dm0Kfi584m+q/\n         WVjhyHdKrJ0LmrDnN5spevTKyWzjEpCb8VAjgmUBUVJpZ6Xj23SKI0Ezso0A9hpR8Qob\n         l2MQ==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=1e100.net; s=20230601; t=1770734292; x=1771339092;\n        h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n         :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date\n         :message-id:reply-to;\n        bh=pkYuyRwsnTcRNpSowH2WXxBKWT/+EdlbZCcoZtFynkQ=;\n        b=kqFfWhjYqkw1t7PN2sWZmQ3d95+mcSdw0z+iwMy3hTVGfiyKk3C0nJerEhEGnxn151\n         YlupTCZfpyGJFxu1wDTCeA028TEVl26cHLCsD6Y96Nj30dkxxUBtGl9i/iwQiF6qwAg6\n         oAl66ni9mh6KF3UL2YUfq8p7o7bp9sBC5UMSB8SlLRes4CbSOOKqB3gEdox4iIokbnaX\n         qSFcB492OQCaTEvqHdG+8eqYXc8yEd1/Hch9waiMMHaoihtB1nL08bMwgR7KL4QUcYWX\n         KGljT5fdzAtD0ptoQWC2XBo2rBUkniUV2IXFB97c+HZruFEqBw6u0N6cl5rHUwvFv9Ld\n         lCxQ==",
        "X-Forwarded-Encrypted": "i=1;\n AJvYcCXQS5SeVIPAKQ3EKv/p+dC7/RkqNlGs1zN3d8rMTGGjDkJqs95kSz4vm3C9loO/7t10yxur7gzkagyBH0Q=@lists.ozlabs.org",
        "X-Gm-Message-State": "AOJu0Yz93lzubuYX1Q+myReHyvjUGcBL8x2WSJqdeYJmOyE3V0Aaw+mc\n\tPCHuKvJWkDD0zr4MTRXp4IDQiNKSsfFI+PU0MaqMBGMps72hR0MsR7Ikp/mX2LN1nUg=",
        "X-Gm-Gg": "AZuq6aL1eOzBmdLUAMlOyNXex57+BNHvU8zALDTo+IvzpM8Ti2CqLJ0r019Je9DAB9e\n\timo5mcqi0rsQWEdLZ9mEAWBFkXiQKe4qDln95uuKOzcU8saCBtJcoOBEj7e9CT7jd+bXmFlunLj\n\tN35uioKVwA9ULOuKHqjVTainkLSbwBAm8jMpx2gEnfiVP7baXTUpnwyvWT/kAhj6ogp2qx2e5wI\n\tfzaZwkjY74wmWdS+VWpiZDCNnVb2JBK6aOd2z/GrXSfJdzY9iqCc/HdluuCBcjd1fy3UKCXxM0F\n\turLWN7GMCj8rGWF2egaRbVheIGqaVefsecqaS98tyIcbCJ/NTzKa4zasiw0du3gqrTo1wM/+xXe\n\twmmuwRgpCkiZwtZfCGwS074K37JTanj42w0r9SNVEpdVObcCK1H9r82sr9QpFDoFUYa8oowbDYK\n\t3hdFa0Z8qeoNppEZUnRqUFGJlXrV0hy7nM/V+pAQ30cVKJR+5qcksrP6nwicWjSeBdmO15IUt86\n\tjVX/4WCVBtt2ncgEF1W752qKR5+oIKP4/qhL561yew=",
        "X-Received": "by 2002:a05:620a:7087:b0:8cb:1d86:aa4f with SMTP id\n af79cd13be357-8cb1f72ee0dmr272527185a.78.1770734292144;\n        Tue, 10 Feb 2026 06:38:12 -0800 (PST)",
        "From": "Ziyi Guo <n7l8m4@u.northwestern.edu>",
        "To": "Mark Brown <broonie@kernel.org>,\n\tAlexander Stein <alexander.stein@ew.tq-group.com>",
        "Cc": "Shengjiu Wang <shengjiu.wang@gmail.com>,\n\tXiubo Li <Xiubo.Lee@gmail.com>,\n\tFabio Estevam <festevam@gmail.com>,\n\tNicolin Chen <nicoleotsuka@gmail.com>,\n\tLiam Girdwood <lgirdwood@gmail.com>,\n\tJaroslav Kysela <perex@perex.cz>,\n\tTakashi Iwai <tiwai@suse.com>,\n\tlinux-sound@vger.kernel.org,\n\tlinuxppc-dev@lists.ozlabs.org,\n\tlinux-kernel@vger.kernel.org,\n\tZiyi Guo <n7l8m4@u.northwestern.edu>",
        "Subject": "[PATCH] Revert \"ASoC: fsl_xcvr: fix missing lock in\n fsl_xcvr_mode_put()\"",
        "Date": "Tue, 10 Feb 2026 14:38:09 +0000",
        "Message-Id": "<20260210143809.297565-1-n7l8m4@u.northwestern.edu>",
        "X-Mailer": "git-send-email 2.34.1",
        "X-Mailing-List": "linuxppc-dev@lists.ozlabs.org",
        "List-Id": "<linuxppc-dev.lists.ozlabs.org>",
        "List-Help": "<mailto:linuxppc-dev+help@lists.ozlabs.org>",
        "List-Owner": "<mailto:linuxppc-dev+owner@lists.ozlabs.org>",
        "List-Post": "<mailto:linuxppc-dev@lists.ozlabs.org>",
        "List-Archive": "<https://lore.kernel.org/linuxppc-dev/>,\n  <https://lists.ozlabs.org/pipermail/linuxppc-dev/>",
        "List-Subscribe": "<mailto:linuxppc-dev+subscribe@lists.ozlabs.org>,\n  <mailto:linuxppc-dev+subscribe-digest@lists.ozlabs.org>,\n  <mailto:linuxppc-dev+subscribe-nomail@lists.ozlabs.org>",
        "List-Unsubscribe": "<mailto:linuxppc-dev+unsubscribe@lists.ozlabs.org>",
        "Precedence": "list",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-Spam-Status": "No, score=0.0 required=3.0 tests=DKIM_SIGNED,DKIM_VALID,\n\tRCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=disabled\n\tversion=4.0.1 OzLabs 8",
        "X-Spam-Checker-Version": "SpamAssassin 4.0.1 (2024-03-25) on lists.ozlabs.org"
    },
    "content": "This reverts commit f514248727606b9087bc38a284ff686e0093abf1.\n\nThe original patch attempted to acquire the card->controls_rwsem lock in\nfsl_xcvr_mode_put(). However, this function is called from the upper ALSA\ncore function snd_ctl_elem_write(), which already holds the write lock on\ncontrols_rwsem for the whole put operation. So there is no need to simply\nhold the lock for fsl_xcvr_activate_ctl() again.\n\nAcquiring the read lock while holding the write lock in the same thread\nresults in a deadlock and a hung task, as reported by Alexander Stein.\n\nReported-by: Alexander Stein <alexander.stein@ew.tq-group.com>\nCloses: https://lore.kernel.org/linux-sound/5056506.GXAFRqVoOG@steina-w/\nSigned-off-by: Ziyi Guo <n7l8m4@u.northwestern.edu>\n---\n sound/soc/fsl/fsl_xcvr.c | 3 ---\n 1 file changed, 3 deletions(-)",
    "diff": "diff --git a/sound/soc/fsl/fsl_xcvr.c b/sound/soc/fsl/fsl_xcvr.c\nindex 0b9dd64b9a82..a268fb81a2f8 100644\n--- a/sound/soc/fsl/fsl_xcvr.c\n+++ b/sound/soc/fsl/fsl_xcvr.c\n@@ -223,13 +223,10 @@ static int fsl_xcvr_mode_put(struct snd_kcontrol *kcontrol,\n \n \txcvr->mode = snd_soc_enum_item_to_val(e, item[0]);\n \n-\tdown_read(&card->snd_card->controls_rwsem);\n \tfsl_xcvr_activate_ctl(dai, fsl_xcvr_arc_mode_kctl.name,\n \t\t\t      (xcvr->mode == FSL_XCVR_MODE_ARC));\n \tfsl_xcvr_activate_ctl(dai, fsl_xcvr_earc_capds_kctl.name,\n \t\t\t      (xcvr->mode == FSL_XCVR_MODE_EARC));\n-\tup_read(&card->snd_card->controls_rwsem);\n-\t\n \t/* Allow playback for SPDIF only */\n \trtd = snd_soc_get_pcm_runtime(card, card->dai_link);\n \trtd->pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream_count =\n",
    "prefixes": []
}