From: Troy Mitchell <troymitchell988@gmail.com>
To: Oleksij Rempel <o.rempel@pengutronix.de>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
Andi Shyti <andi.shyti@kernel.org>,
Shawn Guo <shawnguo@kernel.org>,
Sascha Hauer <s.hauer@pengutronix.de>,
Fabio Estevam <festevam@gmail.com>
Cc: linux-i2c@vger.kernel.org, imx@lists.linux.dev,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org,
Troy Mitchell <troymitchell988@gmail.com>,
Yongchao Jia <jyc0019@gmail.com>, Frank Li <Frank.Li@nxp.com>,
Ahmad Fatoum <a.fatoum@pengutronix.de>,
Carlos Song <carlos.song@nxp.com>
Subject: [PATCH v4 0/2] i2c: imx: guard and drop prefix
Date: Sat, 31 May 2025 14:57:25 +0800 [thread overview]
Message-ID: <20250531-i2c-imx-update-v4-0-bfad0c8fd45c@gmail.com> (raw)
Since this patch[1], we have new callback function names.
Since this patch[2], we can use `guard` to call `spin_lock_irqsave`
and release this lock when it goes out of scope.
Link:
https://lore.kernel.org/all/20240706112116.24543-2-wsa+renesas@sang-engineering.com/ [1]
https://lore.kernel.org/all/20250227221924.265259-10-lyude@redhat.com/ [2]
Signed-off-by: Troy Mitchell <troymitchell988@gmail.com>
---
Changes in v4:
- Add Reviewed-by: Carlos Song and Acked-by: Oleksij Rempel
- No code changes
- Link to v3: https://lore.kernel.org/r/20250513-i2c-imx-update-v3-0-817b7426a67e@gmail.com
Changes in v3:
- use scoped_guard
- Link to v2: https://lore.kernel.org/r/20250427-i2c-imx-update-v2-0-d312e394b573@gmail.com
Changes in v2:
- Add more details in the commit message
- Drop a useless variable
- Refactor the logic of i2c_imx_isr function
- Link to v1: https://lore.kernel.org/r/20250421-i2c-imx-update-v1-0-1137f1f353d5@gmail.com
---
Troy Mitchell (2):
i2c: imx: use guard to take spinlock
i2c: imx: drop master prefix
drivers/i2c/busses/i2c-imx.c | 41 ++++++++++++++++++-----------------------
1 file changed, 18 insertions(+), 23 deletions(-)
---
base-commit: 9d7a0577c9db35c4cc52db90bc415ea248446472
change-id: 20250421-i2c-imx-update-d11d66dd87e8
Best regards,
--
Troy Mitchell <troymitchell988@gmail.com>
next reply other threads:[~2025-05-31 6:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-31 6:57 Troy Mitchell [this message]
2025-05-31 6:57 ` [PATCH v4 1/2] i2c: imx: use guard to take spinlock Troy Mitchell
2025-05-31 6:57 ` [PATCH v4 2/2] i2c: imx: drop master prefix Troy Mitchell
2025-06-02 13:55 ` Frank Li
2025-06-26 21:10 ` [PATCH v4 0/2] i2c: imx: guard and drop prefix Andi Shyti
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250531-i2c-imx-update-v4-0-bfad0c8fd45c@gmail.com \
--to=troymitchell988@gmail.com \
--cc=Frank.Li@nxp.com \
--cc=a.fatoum@pengutronix.de \
--cc=andi.shyti@kernel.org \
--cc=carlos.song@nxp.com \
--cc=festevam@gmail.com \
--cc=imx@lists.linux.dev \
--cc=jyc0019@gmail.com \
--cc=kernel@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=o.rempel@pengutronix.de \
--cc=s.hauer@pengutronix.de \
--cc=shawnguo@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).