Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.2/patches/2224258/?format=api
{ "id": 2224258, "url": "http://patchwork.ozlabs.org/api/1.2/patches/2224258/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-i2c/patch/20260417075451.5435-1-luoxueqin@kylinos.cn/", "project": { "id": 35, "url": "http://patchwork.ozlabs.org/api/1.2/projects/35/?format=api", "name": "Linux I2C development", "link_name": "linux-i2c", "list_id": "linux-i2c.vger.kernel.org", "list_email": "linux-i2c@vger.kernel.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20260417075451.5435-1-luoxueqin@kylinos.cn>", "list_archive_url": null, "date": "2026-04-17T07:54:51", "name": "i2c: designware: Use PM_RUNTIME_ACQUIRE()/PM_RUNTIME_ACQUIRE_ERR()", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "e0d81aa9dcb059ab0d7e222cf7b94e7dc6d14770", "submitter": { "id": 93173, "url": "http://patchwork.ozlabs.org/api/1.2/people/93173/?format=api", "name": "Xueqin Luo", "email": "luoxueqin@kylinos.cn" }, "delegate": { "id": 149066, "url": "http://patchwork.ozlabs.org/api/1.2/users/149066/?format=api", "username": "cazzacarna", "first_name": "Andi", "last_name": "Shyti", "email": "andi.shyti@kernel.org" }, "mbox": "http://patchwork.ozlabs.org/project/linux-i2c/patch/20260417075451.5435-1-luoxueqin@kylinos.cn/mbox/", "series": [ { "id": 500260, "url": "http://patchwork.ozlabs.org/api/1.2/series/500260/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-i2c/list/?series=500260", "date": "2026-04-17T07:54:51", "name": "i2c: designware: Use PM_RUNTIME_ACQUIRE()/PM_RUNTIME_ACQUIRE_ERR()", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/500260/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2224258/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2224258/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "\n <linux-i2c+bounces-17081-incoming=patchwork.ozlabs.org@vger.kernel.org>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "linux-i2c@vger.kernel.org" ], "Delivered-To": "patchwork-incoming@legolas.ozlabs.org", "Authentication-Results": [ "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c09:e001:a7::12fc:5321; helo=sto.lore.kernel.org;\n envelope-from=linux-i2c+bounces-17081-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)", "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=209.85.216.67", "smtp.subspace.kernel.org;\n dmarc=none (p=none dis=none) header.from=kylinos.cn", "smtp.subspace.kernel.org;\n spf=pass smtp.mailfrom=gmail.com" ], "Received": [ "from sto.lore.kernel.org (sto.lore.kernel.org\n [IPv6:2600:3c09:e001:a7::12fc:5321])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fxnH93640z1yGt\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 17 Apr 2026 17:55:17 +1000 (AEST)", "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sto.lore.kernel.org (Postfix) with ESMTP id 73058302BE54\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 17 Apr 2026 07:55:10 +0000 (UTC)", "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 1F9E634FF76;\n\tFri, 17 Apr 2026 07:55:08 +0000 (UTC)", "from mail-pj1-f67.google.com (mail-pj1-f67.google.com\n [209.85.216.67])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id 52B4335DA76\n\tfor <linux-i2c@vger.kernel.org>; Fri, 17 Apr 2026 07:55:06 +0000 (UTC)", "by mail-pj1-f67.google.com with SMTP id\n 98e67ed59e1d1-35fb16e56efso282566a91.2\n for <linux-i2c@vger.kernel.org>; Fri, 17 Apr 2026 00:55:06 -0700 (PDT)", "from power-ThinkBook-15-G2-ITL.. ([116.128.244.171])\n by smtp.gmail.com with ESMTPSA id\n d9443c01a7336-2b5faa2e5cesm13509375ad.25.2026.04.17.00.54.58\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Fri, 17 Apr 2026 00:55:04 -0700 (PDT)" ], "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1776412507; cv=none;\n b=G4ZCdugGWnhsf40PHoaaNIoNoDVlSLRaQ9lGU1HqGINkp3eLeGk7Flptk2/adAVCmw/3gChFaYnUhaexkSUcsEX99STg5XhrPhMrB0DQkLx+6rctE3hoBGwbJcKZRAH/IGj1QlTSdKrjWe3F/DVV1x2IZyVqS1WOFZ/m+6ZYW8c=", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1776412507; c=relaxed/simple;\n\tbh=Nl9d5nSBusaUTgZlzx73GKAsZqFkN+SKYI5SmPtNhyo=;\n\th=From:To:Cc:Subject:Date:Message-ID:MIME-Version;\n b=O0Q+C40zVYEXLBKUmntDQ46s8HGoWYp6D3hNfC69g9F7YT/uiD5FH7eOqetll9hU7Mb2ARfS1Mjm/gs75N5z64PeXUGjqjGGpJVnZCc48NAdKzvS7lrhAQI9izpKPf4jBglAlQbZXdFzL1IDVeV96U4+3hArEl+jtbOVV/kHYaI=", "ARC-Authentication-Results": "i=1; smtp.subspace.kernel.org;\n dmarc=none (p=none dis=none) header.from=kylinos.cn;\n spf=pass smtp.mailfrom=gmail.com; arc=none smtp.client-ip=209.85.216.67", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1776412506; x=1777017306;\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=eyBPa3qqHsAAAwhDXzGCxDz5edbgYqDleVeYrzy0gcw=;\n b=cu4D4/qZIj6docWtptc0AhJ/ZvXKjK4yldOJIntYw2zadi9B9sF0g4zL8zbiRTYZBA\n 6JRjJTQbH8OjQbBxKe0PukH1Mlo5xnT4o+Cytde9TcmTVvRuaHQxKUTOn4/g0HdaoddL\n Dg8JvdxWdyj+D928lA7GbhRfGH9wWUfKT2yA54fnmmwqEkiC6OZzkjTXxBW9ADu+9VOb\n SXIuysGbSfnbdKFfCRqeY2mOWvbyXJW+1dYtgyDWQrKn8vmY/HVPTq/+B+sWrOrI3LfL\n XYckiCJpZxtRyKI3g8E+/+djTzGDytOI9IHp9JOadyCj+801nkxYO6eL94nKgAd2vp5P\n EblQ==", "X-Forwarded-Encrypted": "i=1;\n AFNElJ9aZH1slePTfr0lWwEjHmO61iOvNdSx2lx4mbbh7oza/s8Za6aqpz1mxLvwCUV9luDCUJkR8GNde8A=@vger.kernel.org", "X-Gm-Message-State": "AOJu0YxIHTdsLNEtI/9JfMZDUirA52Ans3pu6rnyMWJl++mMImfQ4ESO\n\tCsdrNkChQ1edgSkFw/0yWzggO3//c9J1UwhvIfPM8sYGkusoyNMryiz2hCCuocXKP6lhQA==", "X-Gm-Gg": "AeBDievEQpMTSfJ78BnZO5MJJcxvDbjW2XRIaP8XbT9oVU1lpUw2164YB8MXmypTUQu\n\tXg9Hjb2aoqcJrWRIYuswV5OMVBrA5+bowiMaoRN/SCP9PeyC1hZZ/OjV1df6enBddB5kxXToo8/\n\tonGLEWb+6GKzhEecGuOA3NVcVKoSNiF75NP6U5tKyWng85srbAfWVMEplOCKju5WliadQwEk1Fp\n\tPGAIRjnx8FZ/2mBkkyIPvz1AmJmCy1BLwdLM5Kt5qyFIZi1ATlKycbW5MDJDGI1BFut2rfsLPAF\n\t52+8mDm5brAS8BbWGi6QgfyBsQUpkU8jQ7PB2KUng3Jx0/LA0RNSlICGeqdBLen2bmGWQ9c5onU\n\tzy3WQdOtNDZm39XKscKfE764YPCeAJu5PqjGTGMsib17TB0c7GjXisu8LlS++LymHHNydfuEm/R\n\tKyueSS55l2lS6oxCj/c8BWM4CUubccUcOW0yqg7FOmHkeWlcTvRv6opyRQ5A==", "X-Received": "by 2002:a17:90a:d2c7:b0:35d:935f:2ff with SMTP id\n 98e67ed59e1d1-361403ade81mr2058149a91.2.1776412505614;\n Fri, 17 Apr 2026 00:55:05 -0700 (PDT)", "From": "Xueqin Luo <luoxueqin@kylinos.cn>", "To": "mika.westerberg@linux.intel.com,\n\tandriy.shevchenko@linux.intel.com,\n\tjsd@semihalf.com,\n\tandi.shyti@kernel.org,\n\tlinux-i2c@vger.kernel.org,\n\tlinux-kernel@vger.kernel.org", "Cc": "Xueqin Luo <luoxueqin@kylinos.cn>", "Subject": "[PATCH] i2c: designware: Use\n PM_RUNTIME_ACQUIRE()/PM_RUNTIME_ACQUIRE_ERR()", "Date": "Fri, 17 Apr 2026 15:54:51 +0800", "Message-ID": "<20260417075451.5435-1-luoxueqin@kylinos.cn>", "X-Mailer": "git-send-email 2.43.0", "Precedence": "bulk", "X-Mailing-List": "linux-i2c@vger.kernel.org", "List-Id": "<linux-i2c.vger.kernel.org>", "List-Subscribe": "<mailto:linux-i2c+subscribe@vger.kernel.org>", "List-Unsubscribe": "<mailto:linux-i2c+unsubscribe@vger.kernel.org>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit" }, "content": "Use new PM_RUNTIME_ACQUIRE() and PM_RUNTIME_ACQUIRE_ERR() wrapper macros\nto make the code look more straightforward.\n\nNo intentional functional impact.\n\nSigned-off-by: Xueqin Luo <luoxueqin@kylinos.cn>\n---\n drivers/i2c/busses/i2c-designware-common.c | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)", "diff": "diff --git a/drivers/i2c/busses/i2c-designware-common.c b/drivers/i2c/busses/i2c-designware-common.c\nindex 4dc57fd56170..4bb0abda0a91 100644\n--- a/drivers/i2c/busses/i2c-designware-common.c\n+++ b/drivers/i2c/busses/i2c-designware-common.c\n@@ -958,8 +958,8 @@ int i2c_dw_probe(struct dw_i2c_dev *dev)\n \t * registered to the device core and immediate resume in case bus has\n \t * registered I2C slaves that do I2C transfers in their probe.\n \t */\n-\tACQUIRE(pm_runtime_noresume, pm)(dev->dev);\n-\tret = ACQUIRE_ERR(pm_runtime_noresume, &pm);\n+\tPM_RUNTIME_ACQUIRE(dev->dev, pm);\n+\tret = PM_RUNTIME_ACQUIRE_ERR(&pm);\n \tif (ret)\n \t\treturn ret;\n \n", "prefixes": [] }