From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: [RFC PATCH 00/24] Mandate to pass a device pointer at card creation Date: Wed, 12 Feb 2014 11:35:16 +0100 Message-ID: <1392201340-27113-1-git-send-email-tiwai@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id ADEE02625D3 for ; Wed, 12 Feb 2014 11:35:50 +0100 (CET) Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 7C1BCABF7 for ; Wed, 12 Feb 2014 10:35:50 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org 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. Takashi