From: Charles Keepax Subject: Re: [PATCH] ASoC: wm97xx: fix compilation corner case Date: Sun, 15 Oct 2017 14:01:56 +0100 Message-ID: <20171015130156.oi2ffk6vwuxws6ow@localhost.localdomain> References: <20171014201409.9008-1-robert.jarzmik@free.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx0b-001ae601.pphosted.com (mx0a-001ae601.pphosted.com [67.231.149.25]) by alsa0.perex.cz (Postfix) with ESMTP id 6EC41266DB8 for ; Sun, 15 Oct 2017 15:02:03 +0200 (CEST) Content-Disposition: inline In-Reply-To: <20171014201409.9008-1-robert.jarzmik@free.fr> 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: Robert Jarzmik Cc: Marek Vasut , alsa-devel@alsa-project.org, Lars-Peter Clausen , patches@opensource.cirrus.com, Takashi Iwai , Liam Girdwood , Chen-Yu Tsai , Mark Brown , Charles Keepax , linux-kernel@vger.kernel.org List-Id: alsa-devel@alsa-project.org On Sat, Oct 14, 2017 at 10:14:02PM +0200, Robert Jarzmik wrote: > When the old AC97 is not used, CONFIG_SND_SOC_AC97_BUS is not > defined. As a consequence, in the error path, snd_soc_free_ac97_codec() > is not defined and triggers a compilation error. > > Fix it for wm9705 and wm9712, as wm9713 is correctly written. > > Signed-off-by: Robert Jarzmik > --- Acked-by: Charles Keepax Thanks, Charles