Skip to content

i2c: Replace lists of special clients with flagging of such clients

Heiner Kallweit linux-i2c linux-sound 3 versions – Applied

Status from this message: Applied to for-next, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 8 repliesApplied
  2. v24 patches 17 repliesSuperseded
  3. v13 patches 0 repliesSuperseded

Changes in v3 from the cover letter

- Add missing mutex locks to patches 2 and 3

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/4ALSA: ppc: Remove i2c client removal hacksound/ppc/keywest.c+1 -61 reply
2/4i2c: Replace list-based mechanism for handling auto-detected clientsdrivers/i2c/i2c-core-base.c include/linux/i2c.h+17 -383 replies
3/4i2c: Replace list-based mechanism for handling userspace-created clientsdrivers/i2c/i2c-core-base.c include/linux/i2c.h+25 -371 reply
4/4i2c: core: Remove obsolete members of i2c_adapter and i2c_clientdrivers/i2c/i2c-core-base.c include/linux/i2c.h+0 -81 reply

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchTakashi Iwai
1/4R-b
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/4] i2c: Replace lists of special clients with flagging of such clients

So far lists are used to track special clients, i.e. auto-detected and userspace-created clients. The same functionality can be achieved much simpler by flagging such clients.

v2:
- The i2c_driver.clients list is core-internal, however there's an ALSA driver using it. So add patch 1 to address this first.

v3:
- Add missing mutex locks to patches 2 and 3

Heiner Kallweit (4):
ALSA: ppc: Remove i2c client removal hack
i2c: Replace list-based mechanism for handling auto-detected clients
i2c: Replace list-based mechanism for handling userspace-created
clients
i2c: core: Remove obsolete members of i2c_adapter and i2c_client

 drivers/i2c/i2c-core-base.c | 115 +++++++++++++-----------------------
 include/linux/i2c.h         |  10 +---
 sound/ppc/keywest.c         |   7 +--
 3 files changed, 43 insertions(+), 89 deletions(-)
Signature · 1 line
2.47.0