From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CCF84C4321E for ; Wed, 30 Nov 2022 18:52:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231535AbiK3Swx (ORCPT ); Wed, 30 Nov 2022 13:52:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38526 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231543AbiK3Swe (ORCPT ); Wed, 30 Nov 2022 13:52:34 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EA94698945 for ; Wed, 30 Nov 2022 10:52:30 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id A8C60B81CAA for ; Wed, 30 Nov 2022 18:52:29 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DE7D9C433C1; Wed, 30 Nov 2022 18:52:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1669834348; bh=tTRqSFCJTHRzOvtXKah9zhdHqr2wucnOMBEYIBD4rws=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ksr4qPfmkLlQaaZ0omFFVpOT8NPPZ4W57/SRWuMLT9xKy94i68Mrs60KTfbjuYx7t IEuYWv/2nFCn7+MxE6ADPJFmcDLoBIx4v3RXx7scE5DmpXjPwv62EL1z/l9ISeqf6U /lr3LxJ3eadi78ynnIMO84sWZBplyvGaiYTWNf98= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, kernel test robot , Cezary Rojewski , Mark Brown , Takashi Iwai Subject: [PATCH 6.0 220/289] ASoC: SOF: Fix compilation when HDA_AUDIO_CODEC config is disabled Date: Wed, 30 Nov 2022 19:23:25 +0100 Message-Id: <20221130180549.105721404@linuxfoundation.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221130180544.105550592@linuxfoundation.org> References: <20221130180544.105550592@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Cezary Rojewski commit 1cda83e42bf66beb06bf61c7a78951ec0c028898 upstream. hda_codec_device_init() expects three parameters, not two. Fixes: 3fd63658caed ("ASoC: Intel: Drop hdac_ext usage for codec device creation") Reported-by: kernel test robot Signed-off-by: Cezary Rojewski Acked-by: Mark Brown Link: https://lore.kernel.org/r/20220819124740.3564862-1-cezary.rojewski@intel.com Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman --- sound/soc/sof/intel/hda-codec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/sound/soc/sof/intel/hda-codec.c +++ b/sound/soc/sof/intel/hda-codec.c @@ -213,7 +213,7 @@ out: put_device(&codec->core.dev); } #else - codec = hda_codec_device_init(&hbus->core, address); + codec = hda_codec_device_init(&hbus->core, address, HDA_DEV_ASOC); ret = PTR_ERR_OR_ZERO(codec); #endif