From patchwork Wed Aug 30 15:22:44 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 9930091 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 992FC60383 for ; Wed, 30 Aug 2017 15:29:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8ADCD27F82 for ; Wed, 30 Aug 2017 15:29:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7FC1F2818A; Wed, 30 Aug 2017 15:29:32 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3B1BF27F82 for ; Wed, 30 Aug 2017 15:29:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Date:Message-Id: In-Reply-To:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: References:List-Owner; bh=nOoVtDPJVHmtA/Ynl01Eq1xekj55TcHg9U+ktTfjwI0=; b=XBt Ume+TnmtTYEzie2WfOS6/0NSOqvSq9O++1QJKZ/ertA6WTSKvZ1G2N9RpzyFQqTQflO4iAkddZx+B mwWEsZA+KdZCHOFC5ihcIohDymYRBIwX7nXDIkRMl8yJM4LS5uB4dVfoyde6x3BKIFKJgwaBN3UCz szR4ITsCLQh+hGYKWa5r030b37YCfOgFXwmU5FVIQrxNfFBGg/dw1z+ya6baeoB1eI8LktsHaXUrK Ax+CnFF/wDog6ABCGC8IN1ebO6dlTLMXEZFNqKVxl+hBHtnKro1QO3WV8WgZZQlD51ZYdlGD+2anl fRAy75Qge+uZK0/Do1RKoCagOXQxGpA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dn4vk-0002NT-S7; Wed, 30 Aug 2017 15:29:24 +0000 Received: from casper.infradead.org ([85.118.1.10]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dn4vh-00029T-H2; Wed, 30 Aug 2017 15:29:21 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; 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=wvtOnLzCDGsixmB4ZUzKa8dJJSMsnvZ/aRBoFSoBdj0=; b=CyMkBScCTAxDxXzvQNMWPAAqt3 zrbdlYDO8ywCxTTF1rO0m8QKycoXCgDIExmSPf8+yxNltSAjjPKFGLU5mNvCkCfxi0M8gVpd5QJnm byQVeVcXWdCK8bBkj9pwzNO54eDPmD/iW4OSS13pb/nsIJCiQ+y8FlWhMq6PqBCTwWo0Opgv6cPQu X9n4NYmlRSRXKTLFJCDIUBx3lzmo3/Z1THbw4hhQuvXH1xtgNfANuuFV8qXxcwzBSy45y5eDWc+5n ocpR90+oqzbLWVXbHWUojsPxzU8+sqXHWcIFTxVhmcG7DpwNutHGJfF9IbbmuiDNKJVI6RTfaMssK 8fZpZyoQ==; Received: from heliosphere.sirena.org.uk ([2a01:7e01::f03c:91ff:fed4:a3b6]) by casper.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dn4qo-0006Tz-F7; Wed, 30 Aug 2017 15:24:20 +0000 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=wvtOnLzCDGsixmB4ZUzKa8dJJSMsnvZ/aRBoFSoBdj0=; b=hLpnKhN5uqL/ QKAtgrJGi7wfRqDw8t1iQ81mdS8GN41Y1cDGmjYbv0LloVkSwkIT4kBPpJ9/mOT1Ww9md4q6o4HAm W6QXyxc9f/lyMcHo5BtvVlxHlL3s4I2o0Bgwo+sqq8zMl3kQV0SrIFzABu7tD+fZcSpCoYYYuVBXX ebELo=; Received: from debutante.sirena.org.uk ([2001:470:1f1d:6b5::3] helo=debutante) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1dn4pI-0006tv-L8; Wed, 30 Aug 2017 15:22:44 +0000 Received: from broonie by debutante with local (Exim 4.89) (envelope-from ) id 1dn4pI-0003SU-7O; Wed, 30 Aug 2017 16:22:44 +0100 From: Mark Brown To: Jeffy Chen Subject: Applied "ASoC: rockchip: constify snd_soc_ops structures" to the asoc tree In-Reply-To: <20170830095814.2030-1-jeffy.chen@rock-chips.com> Message-Id: Date: Wed, 30 Aug 2017 16:22:44 +0100 X-Bad-Reply: In-Reply-To but no 'Re:' in Subject. X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170830_162418_521900_D353CF89 X-CRM114-Status: GOOD ( 17.49 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: alsa-devel@alsa-project.org, Heiko Stuebner , linux-kernel@vger.kernel.org, Liam Girdwood , Takashi Iwai , linux-rockchip@lists.infradead.org, broonie@kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The patch ASoC: rockchip: constify snd_soc_ops structures has been applied to the asoc tree at git://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 1fe165b7e9c3e1b1cfa98310979db0814c7445ea Mon Sep 17 00:00:00 2001 From: Jeffy Chen Date: Wed, 30 Aug 2017 17:58:14 +0800 Subject: [PATCH] ASoC: rockchip: constify snd_soc_ops structures Add const to dp/dmic snd_soc_ops. Fixes: 626d84db64d7 (ASoC: rockchip: Add support for DMIC codec) Fixes: 3313faf1053e (ASoC: rockchip: Add support for DP codec) Signed-off-by: Jeffy Chen Signed-off-by: Mark Brown --- sound/soc/rockchip/rk3399_gru_sound.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/rockchip/rk3399_gru_sound.c b/sound/soc/rockchip/rk3399_gru_sound.c index 5ab25962cabd..0513fe480353 100644 --- a/sound/soc/rockchip/rk3399_gru_sound.c +++ b/sound/soc/rockchip/rk3399_gru_sound.c @@ -301,11 +301,11 @@ static const struct snd_soc_ops rockchip_sound_da7219_ops = { .hw_params = rockchip_sound_da7219_hw_params, }; -static struct snd_soc_ops rockchip_sound_cdndp_ops = { +static const struct snd_soc_ops rockchip_sound_cdndp_ops = { .hw_params = rockchip_sound_cdndp_hw_params, }; -static struct snd_soc_ops rockchip_sound_dmic_ops = { +static const struct snd_soc_ops rockchip_sound_dmic_ops = { .hw_params = rockchip_sound_dmic_hw_params, };