Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2658130pxa; Mon, 17 Aug 2020 15:44:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzv4c+nVzmiktoUI3uQXVyfin4ttiKf8K0B1265f8rm697zo9/9Jsrh1dh+sDp3PsRn7dyU X-Received: by 2002:a50:935a:: with SMTP id n26mr17269160eda.107.1597704288571; Mon, 17 Aug 2020 15:44:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597704288; cv=none; d=google.com; s=arc-20160816; b=DbRsNF1dGP4UVy61D6KKAycNG5owxIEEMGh1RXZwktCyc8E9DOjIn2EgxgZqHYCCyt AGS9uP73JcZCXTV1c4U3dJunyh7B9ORZYElM638jkUW+CejRBIVZV/YWdbqvejeAf8r6 xP4RbU55QV7l0UZ72BldmW1ZcHYNkprhRlIvLbIWQL2/KWGXNN0E+Hzjx/fz/fxdlha3 cSmwuWCNB1/3UQS/wqkB1W6JDjVnOdR+lsghurUzW+44ig/p+Bxh7hCpR8f6p1lwrP1b SO3RibqigmoIAx8UuSp2czdOnIUGqLT32i3bO12oukUXDCNA+aVK+XawEOLYunves4P9 2+fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=1RH2oSzDqfHwxgtDnOUzx+0IPU9VZABegz2EMMBCW1o=; b=bPSPy2TYNtUKOPv2apcNZx8+mTs2yo8HxSwM+GkKFWaK4y1gxMf4opnnCMfxkY6pkO Kb0/nRUTpfVUhgZ2AfRcsD5wWJzlS6T6ITYgfAnNmSU6JJcdPJsq2UHTDvR0vUutyhRE hU2+YmkXa/DMAp0UpW/Bm+ddMV0mSYcF+f61aUOLn+5qpmI5HuSNfO4EeU3710SnHtdA rwpZuj3brLB00LyTBVhNLgnuMBOj2KzvM6U6F70y9Ag8UBIVuqpOfpUCCT5JKlgyaR+4 yRLovoJdm/LzmsRT/kZmqwsaF63b5Q8tV++Jm2XwUWNybOQV0bvINKcGsULn4m5RJa6m w1Xw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=AwAfveEV; 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=fail (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 rs7si11980356ejb.165.2020.08.17.15.44.25; Mon, 17 Aug 2020 15:44:48 -0700 (PDT) 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=@kernel.org header.s=default header.b=AwAfveEV; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391804AbgHQS6e (ORCPT + 99 others); Mon, 17 Aug 2020 14:58:34 -0400 Received: from mail.kernel.org ([198.145.29.99]:33874 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387802AbgHQPti (ORCPT ); Mon, 17 Aug 2020 11:49:38 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C47722065D; Mon, 17 Aug 2020 15:49:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1597679377; bh=AWzTDOSp9902vFeSTzQeewOWoyM76XLWejNu5KwIUE0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AwAfveEVhZsM3IUMQASW/kfVRKuxroG2RJ51kif2rs0Mlv5CCyb+VR9hD7siAs1Zh /uOHqECc2ScP35LJKZZMdB52UcxwWQbEeqmEWlqjbjyMXdUc8OCobCyLREK/J0qjFn 6GMsXV7Oi2PROiAkDN7KoPUhjpLbK70ZTgyeJd7k= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Jaroslav Kysela , Takashi Iwai , Pierre-Louis Bossart , Kai Vehmanen , Mark Brown , Sasha Levin Subject: [PATCH 5.7 160/393] ASoC: Intel: bxt_rt298: add missing .owner field Date: Mon, 17 Aug 2020 17:13:30 +0200 Message-Id: <20200817143827.377851665@linuxfoundation.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200817143819.579311991@linuxfoundation.org> References: <20200817143819.579311991@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Pierre-Louis Bossart [ Upstream commit 88cee34b776f80d2da04afb990c2a28c36799c43 ] This field is required for ASoC cards. Not setting it will result in a module->name pointer being NULL and generate problems such as cat /proc/asound/modules 0 (efault) Fixes: 76016322ec56 ('ASoC: Intel: Add Broxton-P machine driver') Reported-by: Jaroslav Kysela Suggested-by: Takashi Iwai Signed-off-by: Pierre-Louis Bossart Reviewed-by: Kai Vehmanen Link: https://lore.kernel.org/r/20200625191308.3322-5-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/intel/boards/bxt_rt298.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/soc/intel/boards/bxt_rt298.c b/sound/soc/intel/boards/bxt_rt298.c index 7a4decf341918..c84c60df17dbc 100644 --- a/sound/soc/intel/boards/bxt_rt298.c +++ b/sound/soc/intel/boards/bxt_rt298.c @@ -565,6 +565,7 @@ static int bxt_card_late_probe(struct snd_soc_card *card) /* broxton audio machine driver for SPT + RT298S */ static struct snd_soc_card broxton_rt298 = { .name = "broxton-rt298", + .owner = THIS_MODULE, .dai_link = broxton_rt298_dais, .num_links = ARRAY_SIZE(broxton_rt298_dais), .controls = broxton_controls, @@ -580,6 +581,7 @@ static struct snd_soc_card broxton_rt298 = { static struct snd_soc_card geminilake_rt298 = { .name = "geminilake-rt298", + .owner = THIS_MODULE, .dai_link = broxton_rt298_dais, .num_links = ARRAY_SIZE(broxton_rt298_dais), .controls = broxton_controls, -- 2.25.1