get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 808576,
    "url": "http://patchwork.ozlabs.org/api/patches/808576/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-mtd/patch/1504252841-2445-7-git-send-email-bmeng.cn@gmail.com/",
    "project": {
        "id": 3,
        "url": "http://patchwork.ozlabs.org/api/projects/3/?format=api",
        "name": "Linux MTD development",
        "link_name": "linux-mtd",
        "list_id": "linux-mtd.lists.infradead.org",
        "list_email": "linux-mtd@lists.infradead.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<1504252841-2445-7-git-send-email-bmeng.cn@gmail.com>",
    "list_archive_url": null,
    "date": "2017-09-01T08:00:37",
    "name": "[06/10] spi-nor: intel-spi: Remove 'Atomic Cycle Sequence' in intel_spi_write()",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "c5dc8b83649032ce0741a645fd7e4f3bc63c3d76",
    "submitter": {
        "id": 64981,
        "url": "http://patchwork.ozlabs.org/api/people/64981/?format=api",
        "name": "Bin Meng",
        "email": "bmeng.cn@gmail.com"
    },
    "delegate": {
        "id": 63396,
        "url": "http://patchwork.ozlabs.org/api/users/63396/?format=api",
        "username": "cpitchen",
        "first_name": "Cyrille",
        "last_name": "Pitchen",
        "email": "cyrille.pitchen@atmel.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/linux-mtd/patch/1504252841-2445-7-git-send-email-bmeng.cn@gmail.com/mbox/",
    "series": [
        {
            "id": 969,
            "url": "http://patchwork.ozlabs.org/api/series/969/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-mtd/list/?series=969",
            "date": "2017-09-01T08:00:33",
            "name": "spi-nor: intel-spi: Various fixes and enhancements",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/969/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/808576/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/808576/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org",
        "Authentication-Results": [
            "ozlabs.org; spf=none (mailfrom)\n\tsmtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133;\n\thelo=bombadil.infradead.org;\n\tenvelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=lists.infradead.org\n\theader.i=@lists.infradead.org header.b=\"rPZPNk36\"; \n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"UXezHKa6\"; dkim-atps=neutral"
        ],
        "Received": [
            "from bombadil.infradead.org (bombadil.infradead.org\n\t[65.50.211.133])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xkBjf4MXsz9s83\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri,  1 Sep 2017 18:09:42 +1000 (AEST)",
            "from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dnh1E-0000KU-KM; Fri, 01 Sep 2017 08:09:36 +0000",
            "from mail-io0-x242.google.com ([2607:f8b0:4001:c06::242])\n\tby bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dngop-0001Xz-64\n\tfor linux-mtd@lists.infradead.org; Fri, 01 Sep 2017 07:56:48 +0000",
            "by mail-io0-x242.google.com with SMTP id z67so339458iof.1\n\tfor <linux-mtd@lists.infradead.org>;\n\tFri, 01 Sep 2017 00:56:31 -0700 (PDT)",
            "from ala-d2121-lx1.wrs.com (unknown-156-139.windriver.com.\n\t[147.11.156.139]) by smtp.gmail.com with ESMTPSA id\n\td187sm853502iod.7.2017.09.01.00.56.28\n\t(version=TLS1_1 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tFri, 01 Sep 2017 00:56:29 -0700 (PDT)"
        ],
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20170209; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe:\n\tList-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References:\n\tIn-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID:\n\tContent-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc\n\t:Resent-Message-ID:List-Owner;\n\tbh=2Y64sZeNSjRAyhVqqNlUjK55U2Uxk9tYUYO4JVIDfcQ=;\n\tb=rPZPNk36SUui5B0h8aOrJ4dmXp\n\tA77Ti89uHoukPdgeLqx7BVom9cqCNhQG6BW5EECcxBM2B/q/Pa5niHUIvQ//CP3Qgrfte6Y0LRLJs\n\tRhCTu2I6mbwmDcl+O6fQQ3R6heffF86MU9HzspaC/EY/VxGbeH+pRlFHtYl3CeQ4WxKtyeyX91O2B\n\tn+PEoIhpfVG+SC8Q8JiGPZZaQEey+c07+LzcCrOrN4wJOKmj0WJO9pKKd2Vkll75EVq6jc+vvCynX\n\tRBOpo4O5DVksUUaxhqQM9Zes+qRriMVOdaQUnrWa86u1pdbZdcL8ZZ+lzhRrQgtHBelQcTs4Loem9\n\t2isBZ5rQ==;",
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=7rg19dNyxXxQqHGFmyx3FtPNNF79DWMRKMLuUzRd3Zc=;\n\tb=UXezHKa6NTU/DxOV87wp4wtHdiMS3sywTiY/8xaz8mz8KsNwA9fktu7CHzLPRLwC57\n\t9RUh2rzuPmuUdCoRu1kp2tzu3vDU7ERUfBzY1ZLcfFOrgJFUW7+DhAaEuepVf4Vn5K4o\n\tzneJsJMua/NTy6WMVXODPXkJS1dWN4Lmdt1YFMtWXXPvcJuQveEM69Fr6u8Komff+zIv\n\tVxIBAhg+ZMz7kjYR/KxO17KS9W92rzmvB6Ap5VlqkVo++gMiWo4f/BJWqmDbYotOaCoA\n\taancQqCve0pJAwEip/+LWUYxK/CiNS/6AMQ0CfsxENDr/kfO3m0hzFVxT970Admb3ghp\n\tw7Mw=="
        ],
        "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:in-reply-to\n\t:references;\n\tbh=7rg19dNyxXxQqHGFmyx3FtPNNF79DWMRKMLuUzRd3Zc=;\n\tb=l6bOA/VAJxWa0IKKy+t+TVUFmA7iy1ecqxiFgIUidpPtQ6esCXhzBoogI41X2wpE2X\n\tdgsQAvKZvTk6hfQ8nfqRnsmzyq4P7ahaGx+XIftY6beiP8rS/ZQXHMlyV+13MtArZTNw\n\tP2aNxwO0YMt2p27DqAbNUWUkQ41zyuwGjzC83nWCFBBuhik/qYwC9jqtXiRpBBkZOZXQ\n\t7UDHGzLAn9A5yjoGAhdU0neP4/e2ACq5rYFcymJJ68ziyJCUfZuwOisQQdgZS2sl1+yY\n\t/bCtXFAtsytQWro6CD3QgFw6cXBENbgcsIQMG1bBtF9NOEaMKJ6KbCdsi1VQH7gqfxdJ\n\tYkxQ==",
        "X-Gm-Message-State": "AHPjjUiN6M29ZZp0qaAiPXEYlR2bbG1kvEMYOczwMsMm8i8VpdmLvm/a\n\tlOECWSN3h918LA==",
        "X-Google-Smtp-Source": "ADKCNb4PfnIOTKDQAz4xj8K+nfvF219UWfKeKEkODC453shYY8oRyhYaUrNE1Cck6HyAdU4ACvXnzQ==",
        "X-Received": "by 10.107.20.81 with SMTP id 78mr814360iou.299.1504252590678;\n\tFri, 01 Sep 2017 00:56:30 -0700 (PDT)",
        "From": "Bin Meng <bmeng.cn@gmail.com>",
        "To": "Mika Westerberg <mika.westerberg@linux.intel.com>,\n\tCyrille Pitchen <cyrille.pitchen@wedev4u.fr>,\n\tMarek Vasut <marek.vasut@gmail.com>,\n\tBoris Brezillon <boris.brezillon@free-electrons.com>,\n\tBrian Norris <computersforpeace@gmail.com>,\n\tRichard Weinberger <richard@nod.at>,\n\tDavid Woodhouse <dwmw2@infradead.org>, \n\tlinux-mtd <linux-mtd@lists.infradead.org>,\n\tlinux-kernel <linux-kernel@vger.kernel.org>",
        "Subject": "[PATCH 06/10] spi-nor: intel-spi: Remove 'Atomic Cycle Sequence' in\n\tintel_spi_write()",
        "Date": "Fri,  1 Sep 2017 01:00:37 -0700",
        "Message-Id": "<1504252841-2445-7-git-send-email-bmeng.cn@gmail.com>",
        "X-Mailer": "git-send-email 1.7.9.5",
        "In-Reply-To": "<1504252841-2445-1-git-send-email-bmeng.cn@gmail.com>",
        "References": "<1504252841-2445-1-git-send-email-bmeng.cn@gmail.com>",
        "X-CRM114-Version": "20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ",
        "X-CRM114-CacheID": "sfid-20170901_005647_385460_A6D0102C ",
        "X-CRM114-Status": "UNSURE (   8.72  )",
        "X-CRM114-Notice": "Please train this message.",
        "X-Spam-Score": "-2.0 (--)",
        "X-Spam-Report": "SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details:   (-2.0 points)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/,\n\tno\n\ttrust [2607:f8b0:4001:c06:0:0:0:242 listed in] [list.dnswl.org]\n\t-0.0 SPF_PASS               SPF: sender matches SPF record\n\t0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail\n\tprovider (bmeng.cn[at]gmail.com)\n\t-1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%\n\t[score: 0.0000]\n\t-0.1 DKIM_VALID Message has at least one valid DKIM or DK signature\n\t0.1 DKIM_SIGNED            Message has a DKIM or DK signature,\n\tnot necessarily valid\n\t-0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from\n\tauthor's domain",
        "X-BeenThere": "linux-mtd@lists.infradead.org",
        "X-Mailman-Version": "2.1.21",
        "Precedence": "list",
        "List-Id": "Linux MTD discussion mailing list <linux-mtd.lists.infradead.org>",
        "List-Unsubscribe": "<http://lists.infradead.org/mailman/options/linux-mtd>,\n\t<mailto:linux-mtd-request@lists.infradead.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.infradead.org/pipermail/linux-mtd/>",
        "List-Post": "<mailto:linux-mtd@lists.infradead.org>",
        "List-Help": "<mailto:linux-mtd-request@lists.infradead.org?subject=help>",
        "List-Subscribe": "<http://lists.infradead.org/mailman/listinfo/linux-mtd>,\n\t<mailto:linux-mtd-request@lists.infradead.org?subject=subscribe>",
        "Cc": "Stefan Roese <sr@denx.de>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Sender": "\"linux-mtd\" <linux-mtd-bounces@lists.infradead.org>",
        "Errors-To": "linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org"
    },
    "content": "So far intel_spi_write() uses the HW sequencer to do the write. But\nthe HW sequencer register HSFSTS_CTL does not have such a field for\n'Atomic Cycle Sequence', remove it.\n\nSigned-off-by: Bin Meng <bmeng.cn@gmail.com>\n---\n\n drivers/mtd/spi-nor/intel-spi.c | 5 -----\n 1 file changed, 5 deletions(-)",
    "diff": "diff --git a/drivers/mtd/spi-nor/intel-spi.c b/drivers/mtd/spi-nor/intel-spi.c\nindex d0237fe..757b9f1 100644\n--- a/drivers/mtd/spi-nor/intel-spi.c\n+++ b/drivers/mtd/spi-nor/intel-spi.c\n@@ -572,11 +572,6 @@ static ssize_t intel_spi_write(struct spi_nor *nor, loff_t to, size_t len,\n \t\tval |= HSFSTS_CTL_AEL | HSFSTS_CTL_FCERR | HSFSTS_CTL_FDONE;\n \t\tval |= (block_size - 1) << HSFSTS_CTL_FDBC_SHIFT;\n \t\tval |= HSFSTS_CTL_FCYCLE_WRITE;\n-\n-\t\t/* Write enable */\n-\t\tif (ispi->preopcodes[1] == SPINOR_OP_WREN)\n-\t\t\tval |= SSFSTS_CTL_SPOP;\n-\t\tval |= SSFSTS_CTL_ACS;\n \t\twritel(val, ispi->base + HSFSTS_CTL);\n \n \t\tret = intel_spi_write_block(ispi, write_buf, block_size);\n",
    "prefixes": [
        "06/10"
    ]
}