From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Molton Subject: Re: [Pull request] Support for wm9705 codec and two machines that use it. Date: Thu, 15 Jan 2009 23:58:36 +0000 Message-ID: <496FCDAC.70900@mnementh.co.uk> References: <496E8DD0.4090006@mnementh.co.uk> <496F0ABD.4080207@mnementh.co.uk> <20090115172057.GC12768@sirena.org.uk> <496FB5AA.1030205@mnementh.co.uk> <20090115222228.GA8806@sirena.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mnementh.co.uk (mail.mnementh.co.uk [173.45.232.4]) by alsa0.perex.cz (Postfix) with ESMTP id EF4C61038B7 for ; Fri, 16 Jan 2009 00:58:10 +0100 (CET) In-Reply-To: <20090115222228.GA8806@sirena.org.uk> 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: Mark Brown Cc: Takashi Iwai , ALSA development , Russell King - ARM Linux List-Id: alsa-devel@alsa-project.org Mark Brown wrote: > On Thu, Jan 15, 2009 at 10:16:10PM +0000, Ian Molton wrote: >> Mark Brown wrote: > >>>> + soc_ac97_ops.reset(codec->ac97); > >>> This should check the return value, resets can and do fail. > >> This call returns void. So no. > > Oh, sorry - thinko. You should read back the ID register and verify the > value. Implemented, tested, checkpatch passed. Pushed out and available at: git://git.mnementh.co.uk/linux-2.6-im.git asoc gitweb at: http://git.mnementh.co.uk/cgi-bin/gitweb.cgi?p=linux-2.6-im.git;a=shortlog;h=refs/heads/asoc Thanks for the review, -Ian