From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Brown Subject: Re: [PATCH v3] sound/soc/lapis: add machine driver v3 updated Date: Fri, 9 Dec 2011 20:24:59 +0800 Message-ID: <20111209122457.GA29492@opensource.wolfsonmicro.com> References: <1323428632-29309-1-git-send-email-tomoya.rohm@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from opensource.wolfsonmicro.com (opensource.wolfsonmicro.com [80.75.67.52]) by alsa0.perex.cz (Postfix) with ESMTP id B126B24346 for ; Fri, 9 Dec 2011 13:25:06 +0100 (CET) Content-Disposition: inline In-Reply-To: <1323428632-29309-1-git-send-email-tomoya.rohm@gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Tomoya MORINAGA Cc: Dimitris Papastamos , alsa-devel@alsa-project.org, Lars-Peter Clausen , Mike Frysinger , qi.wang@intel.com, Takashi Iwai , linux-kernel@vger.kernel.org, yong.y.wang@intel.com, kok.howg.ewe@intel.com, Daniel Mack , Liam Girdwood , joel.clark@intel.com List-Id: alsa-devel@alsa-project.org On Fri, Dec 09, 2011 at 08:03:52PM +0900, Tomoya MORINAGA wrote: > + snd_soc_dapm_new_controls(dapm, ml7213_dapm_widgets, > + ARRAY_SIZE(ml7213_dapm_widgets)); > + > + snd_soc_dapm_add_routes(dapm, ml7213_routes, ARRAY_SIZE(ml7213_routes)); You should also use table based init for these (see the card struct). Otherwise this looks good, though obviously there's a dependency on the CPU drivers.