Skip to content

RFC Embed card device into struct snd_card

Takashi Iwai alsa-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ALSA: Embed card device into struct snd_cardinclude/sound/core.h sound/core/init.c+41 -230 replies
2/3ALSA: Use static groups for id and number card sysfs attr filessound/core/init.c+19 -130 replies
3/3ALSA: Use standard device refcount for card accountinginclude/sound/core.h sound/core/init.c sound/core/sound.c +1 more+20 -440 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH RFC 0/3] Embed card device into struct snd_card

The third batch is a more intensive change; now struct device for card-object is embedded in snd_card struct. This makes the presence of the device object presistent, which can be later referred by other devices at the object creation time.

Also, along with this change, the refcounting of the card object was changed just to use the standard device refcount. This needs to move the destructor into the device release callback.

Onre more batch will follow.

Takashi