Message ID | 20210121175151.139111-2-ribalda@chromium.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=oBR+=GY=alsa-project.org=alsa-devel-bounces@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3713CC433DB for <alsa-devel@archiver.kernel.org>; Thu, 21 Jan 2021 17:52:56 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 30886207C5 for <alsa-devel@archiver.kernel.org>; Thu, 21 Jan 2021 17:52:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 30886207C5 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 492B81905; Thu, 21 Jan 2021 18:52:03 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 492B81905 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1611251573; bh=ib6UZDOA9xp6Yp+LXmzKvkLWDP2CqqiBn8Uerzggbdw=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=F/H9oaouWhCi56uONFYTaGyqD5I1ovutFy7VnguXXblhvdkU5p8+p6o64wrNAkrn2 hgG4jTom9dvFvHP99G3azoTIOnd0xbfBOWcITUcuNdndf9sOnKN0LHD/Ut7k+K38v9 PP5EGNQXMqbHdOY0082JRYOB2FaRTKm03P6exNPE= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id BE538F80255; Thu, 21 Jan 2021 18:52:02 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 37CFCF8026A; Thu, 21 Jan 2021 18:52:01 +0100 (CET) Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 62CA9F80162 for <alsa-devel@alsa-project.org>; Thu, 21 Jan 2021 18:51:54 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 62CA9F80162 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="cuSirrQ1" Received: by mail-ed1-x52f.google.com with SMTP id dj23so3481011edb.13 for <alsa-devel@alsa-project.org>; Thu, 21 Jan 2021 09:51:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=OCYYVMv5s714jVuwCabaovHSIiuYo1Mak9GI7N7bfpA=; b=cuSirrQ1oaAAyphXl4bCIjli2fQoncNhitI0+YSQr3brIfsbP9VbBs3jzssRkA++JE LG1K19NciHMQYyvSknHr5rL/fS73Lz6NxQ8nGH+Nb+j2A/pHWblY+1UbzpLedlTywnSI ZxPmTnpt0Py/TXigz0VWFJxdtIKfzBpfQdwjc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=OCYYVMv5s714jVuwCabaovHSIiuYo1Mak9GI7N7bfpA=; b=Nmu1RnMFYAozgUq+kZrsuYM183x+korNNuKVeqU9li0mMEWL7zEGv7ZXoF+KAaTeAo YQ1JS3g+dwtnkIiwvUumAh/3MsoBQwqQEUwYLKUbs8eHTIPvj9tm+dvvOttNC54XH4ss fwAfqnoHd1Qfanilddg00gx18qVlyxbx7c3Of8qQiCTE9vm8HTgAh6VPEz2p7oMvsI0D s8n4XhnF9cXpC6HvkpSO+AssuSRYSQHWJ+e1K+ujVXj3bPlVR0xn35Go97/2TBaHfUFv X3EOwHqiZ/gFwguwPu9+B3O2Ff+nE1me2owyJlktnJ00L6SZmMTVJy2p+lYooOSGZze7 N41A== X-Gm-Message-State: AOAM530EyPasdH31BRB4tcOt9UXxb8Jz4QTbPVF8GQsEKgBIy08EWiKx +4tTgWsnkiurXFzapN48iT+8PA== X-Google-Smtp-Source: ABdhPJyAt+sWJ5YT6v7cdGLKqc6+7CG9j6StKNytrRLmmdUplw06fy1GOc3aYmBcNgxFrk+wwAdvSw== X-Received: by 2002:a05:6402:1249:: with SMTP id l9mr201913edw.375.1611251514174; Thu, 21 Jan 2021 09:51:54 -0800 (PST) Received: from alco.lan ([80.71.134.83]) by smtp.gmail.com with ESMTPSA id w16sm3232349edv.4.2021.01.21.09.51.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Jan 2021 09:51:53 -0800 (PST) From: Ricardo Ribalda <ribalda@chromium.org> To: Andy Shevchenko <andriy.shevchenko@linux.intel.com>, Cezary Rojewski <cezary.rojewski@intel.com>, Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>, Liam Girdwood <liam.r.girdwood@linux.intel.com>, Jie Yang <yang.jie@linux.intel.com>, Mark Brown <broonie@kernel.org>, Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>, Mateusz Gorski <mateusz.gorski@linux.intel.com>, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Lukasz Majczak <lma@semihalf.com> Subject: [PATCH v3 2/2] ASoC: Intel: Skylake: Zero snd_ctl_elem_value Date: Thu, 21 Jan 2021 18:51:51 +0100 Message-Id: <20210121175151.139111-2-ribalda@chromium.org> X-Mailer: git-send-email 2.30.0.296.g2bfb1c46d8-goog In-Reply-To: <20210121175151.139111-1-ribalda@chromium.org> References: <20210121175151.139111-1-ribalda@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Cc: Ricardo Ribalda <ribalda@chromium.org> X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" <alsa-devel.alsa-project.org> List-Unsubscribe: <https://mailman.alsa-project.org/mailman/options/alsa-devel>, <mailto:alsa-devel-request@alsa-project.org?subject=unsubscribe> List-Archive: <http://mailman.alsa-project.org/pipermail/alsa-devel/> List-Post: <mailto:alsa-devel@alsa-project.org> List-Help: <mailto:alsa-devel-request@alsa-project.org?subject=help> List-Subscribe: <https://mailman.alsa-project.org/mailman/listinfo/alsa-devel>, <mailto:alsa-devel-request@alsa-project.org?subject=subscribe> Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" <alsa-devel-bounces@alsa-project.org> |
Series |
[v3,1/2] ASoC: Intel: Skylake: skl-topology: Fix OOPs ib skl_tplg_complete
|
expand
|
diff --git a/sound/soc/intel/skylake/skl-topology.c b/sound/soc/intel/skylake/skl-topology.c index ffd37aaecdf1..76a04a883e63 100644 --- a/sound/soc/intel/skylake/skl-topology.c +++ b/sound/soc/intel/skylake/skl-topology.c @@ -3632,7 +3632,7 @@ static void skl_tplg_complete(struct snd_soc_component *component) sprintf(chan_text, "c%d", mach->mach_params.dmic_num); for (i = 0; i < se->items; i++) { - struct snd_ctl_elem_value val; + struct snd_ctl_elem_value val = {}; if (strstr(texts[i], chan_text)) { val.value.enumerated.item[0] = i;