Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2616413yba; Mon, 8 Apr 2019 00:31:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqyrelSTWMxVhXLkLHRXvYSFaEJz2XIFSBBCmYih+YuKuwXx2j2nlDi4yrRjhoOhuyu0wUlR X-Received: by 2002:a17:902:bb8f:: with SMTP id m15mr28589259pls.247.1554708711214; Mon, 08 Apr 2019 00:31:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554708711; cv=none; d=google.com; s=arc-20160816; b=TX/Hdmq3z6Z5J0uo7dwRw+Jq4UtvcT0o+JVPT1fd4okEXEra/D1WA8h7GVyimhv/Ld 5Ca59rk2X3QQd8YsUtCXA0uZVHQvnhvSVBtknO5mvYI1wdHHmIXdjcLS/NmIIQEst2F/ yySBX+CK+lZBxLVHDYT9N3HiROwbPf4JK+T7rJROfIBWDhOtd+PFVlNG8m4ST+wWDXXW Xoa8Y+FmgnnJnjZlM1cfMX5GXmhCcU5e70MVfwmwTs4eGhjQlyBHTcbk4OANNPN7m2kg 5xGgW6QjtiUQyNflYxFC8TBWx/fGJmBp2HvZ1/byiJ8W1wbIU0PYceGJ+UGdhU256Z9o A3WA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:in-reply-to:subject:cc:to :from:dkim-signature; bh=aV/7tX/DmZrazI7qKGVZyvFjmHbgVorKqbmO4OzxlSc=; b=YdOYH2re4tPcGZBMUIAzh7g/dkdwg6esD80PEIxXfzuirrGpkk0BcgHF1NGe2qlt6u 01rzVd0wwDk9fqjzcx0xAYoWdjyVJILRBJsWgs+0UAUkdPfdfWyxmLOSP+PlEhrdVxOm 1PtfQ2HVy3KqlFqBQNbygs+sv1qBfKAZSDcky3U2uQDBYl9Do/wiuhBxSzsYbbEDKw/z spEQfSeWKlwHfEyX2wxB/BQQXKbxbN4M05l5mnfEEKV3Tbyr54N2nVmTVh1QNOxhNTsV Ygw+9nSKRbTGbo4U/iNmaD9ewHrGSOXxDZPnW6iJCzPcLJuP/29VrV7R/CpwrVG64Pwk o7RA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b="nMC8quD/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 24si25383391pfi.21.2019.04.08.00.31.36; Mon, 08 Apr 2019 00:31:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b="nMC8quD/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726486AbfDHHao (ORCPT + 99 others); Mon, 8 Apr 2019 03:30:44 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:41438 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725871AbfDHHao (ORCPT ); Mon, 8 Apr 2019 03:30:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=Date:Message-Id:In-Reply-To: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:References: List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner: List-Archive; bh=aV/7tX/DmZrazI7qKGVZyvFjmHbgVorKqbmO4OzxlSc=; b=nMC8quD/mXY1 GvBDHVXsmg4cEJVd3eiPyu9peo/DS2UfR3E1hTA39k+us4P0UFYKqogL/3OEWMUy7LEloX3HPk8EK jDCYHml9JHOzYV93GEYRDI9g3KyVVvmJXI2p3TL0EscoiVAOXVxTftVrqEnJuHhlGIaFwz5DfaALk hvgdU=; Received: from [8.46.76.46] (helo=finisterre.ee.mobilebroadband) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hDOjO-0003ug-M4; Mon, 08 Apr 2019 07:30:15 +0000 Received: by finisterre.ee.mobilebroadband (Postfix, from userid 1000) id F0485441D3C; Mon, 8 Apr 2019 14:29:59 +0700 (+07) From: Mark Brown To: Arnaud Pouliquen Cc: Mark Brown , alsa-devel@alsa-project.org, Mark Brown , Liam@sirena.org.uk, Girdwood , Jaroslav Kysela , Takashi@sirena.org.uk, Iwai , arnaud.pouliquen@st.com, Olivier Moysan , linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org Subject: Applied "ASoC: stm32: fix sai driver name initialisation" to the asoc tree In-Reply-To: <1554455951-2755-1-git-send-email-arnaud.pouliquen@st.com> X-Patchwork-Hint: ignore Message-Id: <20190408072959.F0485441D3C@finisterre.ee.mobilebroadband> Date: Mon, 8 Apr 2019 14:29:59 +0700 (+07) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The patch ASoC: stm32: fix sai driver name initialisation has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark From 17d3069ccf06970e2db3f7cbf4335f207524279e Mon Sep 17 00:00:00 2001 From: Arnaud Pouliquen Date: Fri, 5 Apr 2019 11:19:11 +0200 Subject: [PATCH] ASoC: stm32: fix sai driver name initialisation This patch fixes the sai driver structure overwriting which results in a cpu dai name equal NULL. Fixes: 3e086ed ("ASoC: stm32: add SAI driver") Signed-off-by: Arnaud Pouliquen Signed-off-by: Mark Brown --- sound/soc/stm/stm32_sai_sub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/stm/stm32_sai_sub.c b/sound/soc/stm/stm32_sai_sub.c index 55d802f51c15..83d8a7ac56f4 100644 --- a/sound/soc/stm/stm32_sai_sub.c +++ b/sound/soc/stm/stm32_sai_sub.c @@ -1419,7 +1419,6 @@ static int stm32_sai_sub_dais_init(struct platform_device *pdev, if (!sai->cpu_dai_drv) return -ENOMEM; - sai->cpu_dai_drv->name = dev_name(&pdev->dev); if (STM_SAI_IS_PLAYBACK(sai)) { memcpy(sai->cpu_dai_drv, &stm32_sai_playback_dai, sizeof(stm32_sai_playback_dai)); @@ -1429,6 +1428,7 @@ static int stm32_sai_sub_dais_init(struct platform_device *pdev, sizeof(stm32_sai_capture_dai)); sai->cpu_dai_drv->capture.stream_name = sai->cpu_dai_drv->name; } + sai->cpu_dai_drv->name = dev_name(&pdev->dev); return 0; } -- 2.20.1