linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] i2c: imx: adapting the mainline
@ 2025-04-21  5:36 Troy Mitchell
  2025-04-21  5:36 ` [PATCH 1/2] i2c: imx: use guard to take spinlock Troy Mitchell
  2025-04-21  5:36 ` [PATCH 2/2] i2c: imx: drop master prefix Troy Mitchell
  0 siblings, 2 replies; 10+ messages in thread
From: Troy Mitchell @ 2025-04-21  5:36 UTC (permalink / raw)
  To: Oleksij Rempel, Pengutronix Kernel Team, Andi Shyti, Shawn Guo,
	Sascha Hauer, Fabio Estevam
  Cc: linux-i2c, imx, linux-arm-kernel, linux-kernel, Troy Mitchell,
	Yongchao Jia

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>
---
Troy Mitchell (2):
      i2c: imx: use guard to take spinlock
      i2c: imx: drop master prefix

 drivers/i2c/busses/i2c-imx.c | 26 ++++++++++++--------------
 1 file changed, 12 insertions(+), 14 deletions(-)
---
base-commit: 9d7a0577c9db35c4cc52db90bc415ea248446472
change-id: 20250421-i2c-imx-update-d11d66dd87e8

Best regards,
-- 
Troy Mitchell <troymitchell988@gmail.com>



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2025-04-22 19:47 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-21  5:36 [PATCH 0/2] i2c: imx: adapting the mainline Troy Mitchell
2025-04-21  5:36 ` [PATCH 1/2] i2c: imx: use guard to take spinlock Troy Mitchell
2025-04-21  7:28   ` kernel test robot
2025-04-21 18:05   ` Frank Li
2025-04-22 15:12   ` Jonathan Cameron
2025-04-22 15:26     ` Troy Mitchell
2025-04-22 15:53       ` Ahmad Fatoum
2025-04-22 16:05         ` Ahmad Fatoum
2025-04-21  5:36 ` [PATCH 2/2] i2c: imx: drop master prefix Troy Mitchell
2025-04-22 16:10   ` Ahmad Fatoum

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).