From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Brown Subject: Re: [PATCH] ASoC: Add support for MAX98089 CODEC Date: Thu, 18 Nov 2010 11:07:31 +0000 Message-ID: <20101118110731.GC7233@rakim.wolfsonmicro.main> References: <4CE43A80.4050209@maxim-ic.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from opensource2.wolfsonmicro.com (opensource.wolfsonmicro.com [80.75.67.52]) by alsa0.perex.cz (Postfix) with ESMTP id 1F93D10390A for ; Thu, 18 Nov 2010 12:07:34 +0100 (CET) Content-Disposition: inline In-Reply-To: <4CE43A80.4050209@maxim-ic.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: Jesse Marroquin Cc: Dimitris Papastamos , "alsa-devel@alsa-project.org" , Takashi Iwai , "linux-kernel@vger.kernel.org" , Peter Hsiang , Liam Girdwood List-Id: alsa-devel@alsa-project.org On Wed, Nov 17, 2010 at 02:26:40PM -0600, Jesse Marroquin wrote: > This patch adds initial support for the MAX98089 CODEC. Applied, thanks. One thing: > struct max98088_priv { > u8 reg_cache[M98088_REG_CNT]; > + enum max98088_type devtype; You currently never actually read the devtype anywhere - if the devices really are fully register compatible (eg, if the differences are in physical or electrical characteristics which aren't visible to software) then there's no need to bother doing this, though equally well it does no harm.