[alsa-devel] [RFC PATCH 00/24] Mandate to pass a device pointer at card creation
Takashi Iwai
tiwai at suse.de
Fri Feb 14 12:58:10 CET 2014
At Wed, 12 Feb 2014 11:35:16 +0100,
Takashi Iwai wrote:
>
> Hi,
>
> this is the first series of patches for a slight restructuring of
> device management in ALSA core codes. This batch makes the association
> of struct device mandatory to snd_card at the object creation time,
> so that the driver can refer to the device at any time even before
> registring the device.
>
> Basically, it rewrites snd_card_create() with the (re-)new
> snd_card_new() that requires the struct device pointer. The only
> upstream driver that had no device assignment was atmel/au1x00, and
> I revived the old patch to convert to platform_device for that.
Since I've got positive feedbacks, I merged the patches (some are
fixed) with ack tags by people now to for-next branch.
Takashi
More information about the Alsa-devel
mailing list