Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp453641yba; Fri, 26 Apr 2019 03:06:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqziBMJralVTxySLoeO0yihXkudYw5AiChCNllMrJmkXErz1NTKkYwBNEVyVwAEXewvMb/V9 X-Received: by 2002:a63:f012:: with SMTP id k18mr43725849pgh.433.1556273192761; Fri, 26 Apr 2019 03:06:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556273192; cv=none; d=google.com; s=arc-20160816; b=SPp6wUPdEldukLBs9Gt3Nu+uSAlZ33YLDSUYmiQ+oZdfIr+6b71G/FQzhmK4EF7wL3 +AjV3tGemTTlXszdcqXf9FDW6jBOtp4M4ITDF27DI26bNAX6R7B/GY3JJAM/eB20Sb65 3KvtbMqmD10MVA+IGEj1zj3HPMpn0tkeHFkaMjB2Ad1TsSbPZ2P0MpVU7U8EzQbRdnnf o1kTWLLTWo+EcthtZPy7nPGrKglD/OMNeLaRo/tFgI2wNmlWhhcooFWoWXoV/aVsJpHU 2suhxR/D60CvDLHqT9nsw/T9SV/3afGVyt8HGHKYIB4mCzrnvRe/FUzG+BiMpN5G6g+0 qAng== 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=D1CkM3YHEnUB2EMTId45/y5anrnTf+wW5OWbCq4uHs4=; b=gA/X8HZ5h9533UCAnmwfXPKj+z06iKUvJThep5dplM/m2gCg/qItnam/yQ4xwsMq2I tZA1eYT7cRsvhLTZ1p2AGKLTw4qRd18uiE6x7TFOMABoGrKrFrVXHEc8IrVvohi9kcSy 5VAUCZwTUhKcVNAPa31T8LNBq0IGH4/3m4kWsc2puftekTThEBZscu3JqlZEzO04+EU6 t8sau0AuxBswc/5Yv/dUd7AYvIzawnyjkE0BmBSDSgQN6gNxaLHBxsS8Rlx8jCDCCdKQ HOl8p0iBIIx8EYgV0IfE/XNMsC/icQrhV5jOJhictteNGPDB/AsQjA0fwP8Vq00m1kc0 w0pQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b="LL/aGA19"; 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 g63si2915387pfg.67.2019.04.26.03.06.16; Fri, 26 Apr 2019 03:06:32 -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="LL/aGA19"; 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 S1726552AbfDZKDa (ORCPT + 99 others); Fri, 26 Apr 2019 06:03:30 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:56670 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726314AbfDZKD3 (ORCPT ); Fri, 26 Apr 2019 06:03:29 -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=D1CkM3YHEnUB2EMTId45/y5anrnTf+wW5OWbCq4uHs4=; b=LL/aGA19sryg 4cflUSf9PAuJgTwBSyTFb5DBsoZf2z0pqZbwyBXJrRavz7UW2wULMwZT5JTyOhvo7rAg95kHvOEwT aMhNQfw0+pqb4ldwuYHH6EflTkrqcPhVWJrgkrl3VYq70f7GgEkgQV7NsECLyWjDUe1hECB0fiWeC tm5ck=; Received: from [37.205.61.202] (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 1hJxhJ-0003km-5o; Fri, 26 Apr 2019 10:03:13 +0000 Received: by finisterre.ee.mobilebroadband (Postfix, from userid 1000) id 7D977441D3B; Fri, 26 Apr 2019 11:03:09 +0100 (BST) From: Mark Brown To: Nicolin Chen Cc: alsa-devel@alsa-project.org, broonie@kernel.org, daniel.baluta@nxp.com, festevam@gmail.com, lgirdwood@gmail.com, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Mark Brown , perex@perex.cz, sfr@canb.auug.org.au, Stephen Rothwell , timur@kernel.org, tiwai@suse.com, Xiubo.Lee@gmail.com Subject: Applied "ASoC: fsl_sai: Add missing return 0 in remove()" to the asoc tree In-Reply-To: <1556248850-3748-1-git-send-email-nicoleotsuka@gmail.com> X-Patchwork-Hint: ignore Message-Id: <20190426100311.7D977441D3B@finisterre.ee.mobilebroadband> Date: Fri, 26 Apr 2019 11:03:08 +0100 (BST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The patch ASoC: fsl_sai: Add missing return 0 in remove() has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.2 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 b46ea8f4d23807e41be86bf214618e4fd4682b9b Mon Sep 17 00:00:00 2001 From: Nicolin Chen Date: Thu, 25 Apr 2019 20:20:50 -0700 Subject: [PATCH] ASoC: fsl_sai: Add missing return 0 in remove() Build warning being reported: sound/soc/fsl/fsl_sai.c: In function 'fsl_sai_remove': sound/soc/fsl/fsl_sai.c:921:1: warning: no return statement in function returning non-void [-Wreturn-type] So this patch just adds a "return 0" to fix it. Fixes: 812ad463e089 ("ASoC: fsl_sai: Add support for runtime pm") Reported-by: Stephen Rothwell Signed-off-by: Nicolin Chen Reviewed-by: Daniel Baluta Signed-off-by: Mark Brown --- sound/soc/fsl/fsl_sai.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/soc/fsl/fsl_sai.c b/sound/soc/fsl/fsl_sai.c index 26c27dc0781f..8593269156bd 100644 --- a/sound/soc/fsl/fsl_sai.c +++ b/sound/soc/fsl/fsl_sai.c @@ -918,6 +918,8 @@ static int fsl_sai_probe(struct platform_device *pdev) static int fsl_sai_remove(struct platform_device *pdev) { pm_runtime_disable(&pdev->dev); + + return 0; } static const struct of_device_id fsl_sai_ids[] = { -- 2.20.1