public inbox for linux-i2c@vger.kernel.org
 help / color / mirror / Atom feed
From: Wolfram Sang <wsa+renesas@sang-engineering.com>
To: Heiner Kallweit <hkallweit1@gmail.com>
Cc: Wolfram Sang <wsa@kernel.org>,
	"linux-i2c@vger.kernel.org" <linux-i2c@vger.kernel.org>,
	Krzysztof Piotr Oledzki <ole@ans.pl>
Subject: Re: [PATCH] i2c: core: Lock address during client device instantiation
Date: Wed, 14 Aug 2024 22:25:27 +0200	[thread overview]
Message-ID: <Zr0St49sB8L67B6U@shikoro> (raw)
In-Reply-To: <7163e4f8-d25b-4a3e-8c9b-fba5ad648302@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 442 bytes --]

Hello Heiner,

> i2c_check_addr_busy(). Apart from requiring an unlocked version of
> i2c_new_client_device(), this would include calls where separate arguments
> are better.

OK. If that is already on the horizon, then we can leave it.

> We could include slave addresses in the address locking, but still
> exclude 10bit addresses. Then the bitmap has only 16 bytes.

That sounds feasible to me! Let's do it this way.

Thanks,

   Wolfram


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2024-08-14 20:25 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-13 21:39 [PATCH] i2c: core: Lock address during client device instantiation Heiner Kallweit
2024-08-14 11:14 ` Wolfram Sang
2024-08-14 20:07   ` Heiner Kallweit
2024-08-14 20:25     ` Wolfram Sang [this message]
2024-08-16  6:17   ` Heiner Kallweit
2024-08-16  9:23     ` Wolfram Sang
2024-08-16 11:33       ` Heiner Kallweit
2024-08-16 14:49         ` Wolfram Sang
2024-08-15 11:29 ` kernel test robot

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=Zr0St49sB8L67B6U@shikoro \
    --to=wsa+renesas@sang-engineering.com \
    --cc=hkallweit1@gmail.com \
    --cc=linux-i2c@vger.kernel.org \
    --cc=ole@ans.pl \
    --cc=wsa@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