Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2637965pxa; Mon, 17 Aug 2020 15:08:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxK2/KCKKyJgSQUPdJAYkUiiIkxlEcTFuW8bJF7FcJoktrZf9R6/pGjYA6x7fMe0Az5qHwl X-Received: by 2002:a17:907:213c:: with SMTP id qo28mr16935489ejb.174.1597702100712; Mon, 17 Aug 2020 15:08:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597702100; cv=none; d=google.com; s=arc-20160816; b=Ga+oUw4uQCEa01jp7E76mUZq1iwg1SFj9gdsi8JqlgO2y7TxnQMhVdkpHez23iPosX 0OfJLr0vJfmjZzUzeUq/rwnrUHILifo2NY8JTaVzL+O1gvMpLvVWfprapzWfbOBKjoN2 /PZ1yrraOslHdjzzMzVTZVqa1+iFpJS9ivOXrzH/y6o1btqEVWJgwUIaBVqrDrmCr57L MBB05x6clTw3QbgddSlgkxOWkGBBvj9IU/y5P6gJMWszLVcUlnKzjAB/lV4zrI6fbxSG OY8UQwwzKh8ypiE6qxqLmoRbXm2kgsHCdYv/AZGx4bTfZtPaQvODNMeAiHmQrvodnVwg ln6Q== 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=SIZ0TCYh8zJIurcheEa6lVvNGlkbXe5tH8/h9elLRVg=; b=rSgVmxjdxzEuYzY52agu5i+KA7VFIJOnpYohlD9yY3z2d8M16KyKtHUqOuuDaS/Ie2 fIthxtaLSEmUR4+ypZNuwEihpvHszRaFZlYF4va76Ba6iOXwOKyNiWtqdPes0mPEWevL LA2WMJBaSgxbuwZ/ZdQAPfXNMQsl2pb+HriUiPzfBQ0aSAxhEXPFUdUpka4EK01KYzWy ygwN/oTFfetR70BeotUa1AXzIsXQTzYaB4RJwkvAhdyVXidTd4yJKcsakWepLb+BIzIt TEJFbf0rsLqewiGg0eR85rDru1BoJtNfIFKDUSnCqhNRV9BoGYs1QTqM1uUz8kEwD99F J40w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=chDlST8b; 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 k20si11536848eje.105.2020.08.17.15.07.57; Mon, 17 Aug 2020 15:08:20 -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=chDlST8b; 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 S2387525AbgHQQWF (ORCPT + 99 others); Mon, 17 Aug 2020 12:22:05 -0400 Received: from mail.kernel.org ([198.145.29.99]:33664 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387786AbgHQPt3 (ORCPT ); Mon, 17 Aug 2020 11:49:29 -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 80C892065D; Mon, 17 Aug 2020 15:49:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1597679369; bh=JEA0NdZUgq77O/7u7QLc4RQyD/hHbwBMkh5PrP5MDy8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=chDlST8b0Pk5Up3RILmvwe9lNz3BR3DOAfWXteDhhB7w5zMlVXlTdfEIINz4LzHqS xZsCBLbgeYG7KIsp02cjV0X+svTPUsuzW1MwFmCUSPhMPY9FI7Lev3GklGO9X6nUTM wfglOe4U+QWgr2vtT0rdeIRCNi18C8SjyqdY3GaE= 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 157/393] ASoC: SOF: nocodec: add missing .owner field Date: Mon, 17 Aug 2020 17:13:27 +0200 Message-Id: <20200817143827.232406803@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 8753889e2720c1ef7ebf03370e384f5bf5ff4fab ] 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: 8017b8fd37bf ('ASoC: SOF: Add Nocodec machine driver support') 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-2-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/sof/nocodec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/sof/nocodec.c b/sound/soc/sof/nocodec.c index 71cf5f9db79d0..849c3bcdca9ed 100644 --- a/sound/soc/sof/nocodec.c +++ b/sound/soc/sof/nocodec.c @@ -14,6 +14,7 @@ static struct snd_soc_card sof_nocodec_card = { .name = "nocodec", /* the sof- prefix is added by the core */ + .owner = THIS_MODULE }; static int sof_nocodec_bes_setup(struct device *dev, -- 2.25.1