Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3703068pxb; Mon, 24 Jan 2022 15:49:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJxjwQLwqZmSMHCqgSaSvgfRJ+uy7zmYEV5DBB4NSWr68qrD5Mv0NCBX5eGrHgLDNUwO4QjM X-Received: by 2002:a17:902:9a4b:b0:14a:b17e:b2a5 with SMTP id x11-20020a1709029a4b00b0014ab17eb2a5mr16438547plv.105.1643068175511; Mon, 24 Jan 2022 15:49:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643068175; cv=none; d=google.com; s=arc-20160816; b=v63Q/W7+WF3AJYzLIYKDeKGotIzW0wbgJpk+Y3iscZlZBWqXpIRxeJNZAZK+cL1ENu blYIOPaoYds0f+pezN0caEn/VnGuaMRFLnGW6r6sLd5lVPip70UatXBy7bC6WzaSv87n DxXbenJ+CLPhVZxWHMBBRH1yaqRuwwGNwa4+FLphTO5xkR017PbCXjyzvtZf6NOfPRgG DfGDYtMNdUJqG5jY/jV0QOb15vATZqsEUyZMUkzSBC1hBDggrjBk+KHg1GXmgM0H28gl Uc+UXifBijl8uGHRBBqgXoOtpZaqZdEDj8BC9jiSYD0+qJS20UzeBS4GFIP/NQXXTVp+ MmZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=YYMCivj7jb5mHyr/9zHeWvzvTaT1hqdywocYGvEIcTQ=; b=PVIxU/6quJ1TqHoQLVjhvrIYEamKtEwOSi+Y0iF5aplYX/Ds0okpFTVHP8lmGJFmsR IHwpOXQb4tHSbl6p1TlczFMFF/9LFMfEKrwiqe3kJDUg7GtGdraKpepm9pK+isG8J0eC Vlne6v1ecV9W2Gcqn3qvr2yP8pZk/2Ph/GtyAH17Po62Ip8ILCb8yYn9mW/G1qpHHZcU 4T6UKoAQcXVCAZ37SHgEquXU3F7fKj9iurbxK+v/YST7aIL0jwxFuTCUOhApvceYI6rS r54tWqYO0Z09tWjwZ4YmDucg9qgAqKDZx18G7ogIjrjPi1Z2AFL3KSqPN/GDfCbY0C0O 51WQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=jckyOONs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y62si11473200pgd.801.2022.01.24.15.49.19; Mon, 24 Jan 2022 15:49:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=jckyOONs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2362701AbiAXXmr (ORCPT + 99 others); Mon, 24 Jan 2022 18:42:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49166 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1844758AbiAXXKO (ORCPT ); Mon, 24 Jan 2022 18:10:14 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 42967C0A0284; Mon, 24 Jan 2022 13:18:21 -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 dfw.source.kernel.org (Postfix) with ESMTPS id D3F75611C8; Mon, 24 Jan 2022 21:18:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E1E48C340E5; Mon, 24 Jan 2022 21:18:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643059100; bh=4mLwih6tINbnvNP9necaLO4eAyc9DYsXQyBja+Tq//0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jckyOONsxDprXKzOcQlMKnJgyUgovA5pOaYf09GCh/Ai1MporJpR50kJpN3A2gDSo 4hJYt+bQ/GgUImRWbB20jX2LhuMuSaCx+qdF3rOEVe+1I+kJjg/tAQNiYVNrtVIFWC wRmjwEljWB80rvf/QdXHafy9aDAqakV+agZI7Uvo= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, kernel test robot , Pierre-Louis Bossart , Kai Vehmanen , Mark Brown , Sasha Levin Subject: [PATCH 5.16 0477/1039] ASoC: SOF: Intel: fix build issue related to CODEC_PROBE_ENTRIES Date: Mon, 24 Jan 2022 19:37:46 +0100 Message-Id: <20220124184141.307544345@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220124184125.121143506@linuxfoundation.org> References: <20220124184125.121143506@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Kai Vehmanen [ Upstream commit 9a83dfcc5ae8230fbf12b63e281d5bb8450ec0e7 ] Fix following error: sound/soc/sof/intel/hda-codec.c:132:35: error: use of undeclared identifier 'CODEC_PROBE_RETRIES' Found with config: i386-randconfig-r033-20211202 (https://download.01.org/0day-ci/archive/20211203/202112031943.Twg19fWT-lkp@intel.com/config) Fixes: 046aede2f847 ("ASoC: SOF: Intel: Retry codec probing if it fails") Reported-by: kernel test robot Reviewed-by: Pierre-Louis Bossart Signed-off-by: Kai Vehmanen Link: https://lore.kernel.org/r/20211203154721.923496-1-kai.vehmanen@linux.intel.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/sof/intel/hda-codec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sound/soc/sof/intel/hda-codec.c b/sound/soc/sof/intel/hda-codec.c index 13cd96e6724a4..2f3f4a733d9e6 100644 --- a/sound/soc/sof/intel/hda-codec.c +++ b/sound/soc/sof/intel/hda-codec.c @@ -20,9 +20,10 @@ #include "../../codecs/hdac_hda.h" #endif /* CONFIG_SND_SOC_SOF_HDA_AUDIO_CODEC */ +#define CODEC_PROBE_RETRIES 3 + #if IS_ENABLED(CONFIG_SND_SOC_SOF_HDA_AUDIO_CODEC) #define IDISP_VID_INTEL 0x80860000 -#define CODEC_PROBE_RETRIES 3 /* load the legacy HDA codec driver */ static int request_codec_module(struct hda_codec *codec) -- 2.34.1