Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/208845/?format=api
{ "id": 208845, "url": "http://patchwork.ozlabs.org/api/patches/208845/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1356956063-19942-1-git-send-email-jagannadh.teki@gmail.com/", "project": { "id": 18, "url": "http://patchwork.ozlabs.org/api/projects/18/?format=api", "name": "U-Boot", "link_name": "uboot", "list_id": "u-boot.lists.denx.de", "list_email": "u-boot@lists.denx.de", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<1356956063-19942-1-git-send-email-jagannadh.teki@gmail.com>", "list_archive_url": null, "date": "2012-12-31T12:14:23", "name": "[U-Boot,12/12] sf: Pass rd_qeb_req variable as 0 for status and config reg reads", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "8bfda407a1fc3cfcc3500d085dc3f9e344fb76b3", "submitter": { "id": 20045, "url": "http://patchwork.ozlabs.org/api/people/20045/?format=api", "name": "Jagan Teki", "email": "jagannadh.teki@gmail.com" }, "delegate": { "id": 17739, "url": "http://patchwork.ozlabs.org/api/users/17739/?format=api", "username": "jagan", "first_name": "Jagannadha Sutradharudu", "last_name": "Teki", "email": "jagannadh.teki@gmail.com" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/1356956063-19942-1-git-send-email-jagannadh.teki@gmail.com/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/208845/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/208845/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<u-boot-bounces@lists.denx.de>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org", "Received": [ "from theia.denx.de (theia.denx.de [85.214.87.163])\n\tby ozlabs.org (Postfix) with ESMTP id 001AB2C00A7\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 31 Dec 2012 23:14:44 +1100 (EST)", "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id B380F4A15B;\n\tMon, 31 Dec 2012 13:14:43 +0100 (CET)", "from theia.denx.de ([127.0.0.1])\n\tby localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id QQuJ8cFsZCTe; Mon, 31 Dec 2012 13:14:43 +0100 (CET)", "from theia.denx.de (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id CF5C34A11F;\n\tMon, 31 Dec 2012 13:14:41 +0100 (CET)", "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 59F644A11F\n\tfor <u-boot@lists.denx.de>; Mon, 31 Dec 2012 13:14:39 +0100 (CET)", "from theia.denx.de ([127.0.0.1])\n\tby localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id SXCZIHMSNOg9 for <u-boot@lists.denx.de>;\n\tMon, 31 Dec 2012 13:14:38 +0100 (CET)", "from mail-da0-f47.google.com (mail-da0-f47.google.com\n\t[209.85.210.47]) by theia.denx.de (Postfix) with ESMTPS id 56F7C4A117\n\tfor <u-boot@lists.denx.de>; Mon, 31 Dec 2012 13:14:36 +0100 (CET)", "by mail-da0-f47.google.com with SMTP id s35so5720549dak.20\n\tfor <u-boot@lists.denx.de>; Mon, 31 Dec 2012 04:14:35 -0800 (PST)", "from localhost.localdomain ([49.204.11.250])\n\tby mx.google.com with ESMTPS id m3sm25608598pav.4.2012.12.31.04.14.33\n\t(version=TLSv1/SSLv3 cipher=OTHER);\n\tMon, 31 Dec 2012 04:14:34 -0800 (PST)" ], "X-Virus-Scanned": [ "Debian amavisd-new at theia.denx.de", "Debian amavisd-new at theia.denx.de" ], "X-policyd-weight": "NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5\n\tNOT_IN_BL_NJABL=-1.5 (only DNSBL check requested)", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\n\th=x-received:from:to:cc:subject:date:message-id:x-mailer;\n\tbh=316La6m5sB/1ukpUH1OKYbvvGxfofau9+nyxK+ttJgw=;\n\tb=EscSoPO388b0vtFN/wjiSzClpTT0ohduknHtywSskxQ2Jea9Kzqbx2y6t4LcmpJm5K\n\tAknjcezC7Xm8Hd97VPtgbX1WonqEeHZRh7LXlMHcFCltn2mwd3t73vjQYH6sGVALFkXz\n\tVuckLYnWOdOAbuwj7xPwGCq2yKJJzFTwcDjW4ibtX72NikvtIxs3jK8iy3bG6ksGApKP\n\t4PLXFgamSSgVCg+bDSPOaoDBkApWWq7YrDdx4tDiFJjCih8fbPw1dH/DNCZjb3ktSa0y\n\tv4vdwYIPPVRG06aa67jrxCO7u90FcQwvpi/y3b1XuzM7e3F3yGeAFwgZda8SEPGl41yj\n\ty+Sg==", "X-Received": "by 10.66.81.68 with SMTP id y4mr120265159pax.66.1356956075248;\n\tMon, 31 Dec 2012 04:14:35 -0800 (PST)", "From": "Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>", "To": "u-boot@lists.denx.de", "Date": "Mon, 31 Dec 2012 17:44:23 +0530", "Message-Id": "<1356956063-19942-1-git-send-email-jagannadh.teki@gmail.com>", "X-Mailer": "git-send-email 1.7.0.4", "Subject": "[U-Boot] [PATCH 12/12] sf: Pass rd_qeb_req variable as 0 for status\n\tand config reg reads", "X-BeenThere": "u-boot@lists.denx.de", "X-Mailman-Version": "2.1.11", "Precedence": "list", "List-Id": "U-Boot discussion <u-boot.lists.denx.de>", "List-Unsubscribe": "<http://lists.denx.de/mailman/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>", "List-Archive": "<http://lists.denx.de/pipermail/u-boot>", "List-Post": "<mailto:u-boot@lists.denx.de>", "List-Help": "<mailto:u-boot-request@lists.denx.de?subject=help>", "List-Subscribe": "<http://lists.denx.de/mailman/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Sender": "u-boot-bounces@lists.denx.de", "Errors-To": "u-boot-bounces@lists.denx.de" }, "content": "Config and Status register reads doesn't require to set\nthe quad enable bit, hence rd_qeb_req variable passed as 0.\n\nSigned-off-by: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>\n---\n drivers/mtd/spi/spi_flash.c | 6 ++++--\n 1 files changed, 4 insertions(+), 2 deletions(-)", "diff": "diff --git a/drivers/mtd/spi/spi_flash.c b/drivers/mtd/spi/spi_flash.c\nindex 15ad05c..7a15a69 100644\n--- a/drivers/mtd/spi/spi_flash.c\n+++ b/drivers/mtd/spi/spi_flash.c\n@@ -293,7 +293,8 @@ int spi_flash_cmd_read_status(struct spi_flash *flash, void *data)\n \tint ret;\n \n \tcmd = CMD_READ_STATUS;\n-\tret = spi_flash_read_common(flash, &cmd, sizeof(cmd), (void *)data, 1);\n+\tret = spi_flash_read_common(flash, &cmd, 0,\n+\t\t\t\tsizeof(cmd), (void *)data, 1);\n \tif (ret < 0) {\n \t\tdebug(\"SF: fail to read status register\\n\");\n \t\treturn ret;\n@@ -343,7 +344,8 @@ int spi_flash_cmd_read_config(struct spi_flash *flash, void *data)\n \tint ret;\n \n \tcmd = CMD_READ_CONFIG;\n-\tret = spi_flash_read_common(flash, &cmd, sizeof(cmd), (void *)data, 1);\n+\tret = spi_flash_read_common(flash, &cmd, 0,\n+\t\t\t\tsizeof(cmd), (void *)data, 1);\n \tif (ret < 0) {\n \t\tdebug(\"SF: fail to read config register\\n\");\n \t\treturn ret;\n", "prefixes": [ "U-Boot", "12/12" ] }