From patchwork Fri Jun 22 14:50:32 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 139675 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp965052lji; Fri, 22 Jun 2018 07:50:53 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJd/mj4QWCfzzDSeuT4nJvfLGBKNXGbNUA8bh8HfxL6hWQaqOWogbE8maBbP24KqgVFFvNG X-Received: by 2002:a1c:8742:: with SMTP id j63-v6mr1828515wmd.105.1529679053676; Fri, 22 Jun 2018 07:50:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529679053; cv=none; d=google.com; s=arc-20160816; b=DEKrluq9go8FpBqTw9FsRuSUIFv42EbyRBacyMAZSv3uhaVPrj5Ak3eMd9e8VV41jT Ivq3WRO0PEaZGuG2eVQ2gHLmV856l/cWw73jIgByzB16cBFXBeFquYw4VX83InhaCIDk 89Lgs6Q4uyGpl904mUFBdMBPj1wW6ue0+pavh/ACamwTj0X2roLgTHOzVmQivYuk/rtE mvSbZuRLq8Cp34+4UDuxifvj8DIPLBlFpIEhhoSKLMt6r991dnyVFkX9O9H+2q3ISCwk dyp+Gd+k7dv1W8V+m61KXdHTpf3jTYRoQXwTICtZJob0ipCRthc4pp6w1cL6rYQRpIfi nqgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:date:message-id:in-reply-to:to:from :dkim-signature:delivered-to:arc-authentication-results; bh=JGhhWd7AnhUHnuu0zIwKh1hdYSJeTV3A39OXd/kOoQQ=; b=q/nGlC09pB4OVwF73XW4osRXlyZLckQiLuLfc5Ist+phpH4QRRKtC78yfBWlwyUZVY f3paNGV65zlUPGCXBgdfTSeE4xuf++KPhBXdfd0W/SyiLZz2SPVEBGtEX/ZTNQ1yUaDp rLaj/LdQkWZ2+qj+dfxB25AqX0M7C1of6bV9g088Z2ch9O4LwJTCCdaH8X1KeIdA55lV wUc1FJLeSPGT6mdDzOTcwER99Txcs3N+u+yMvbFh7ewzie/SoQfUYNEHVK55zNAtF437 WG3VuyNiTnU5ugozQm0KKf2U3veom0ORCynIUadELneL0hU8RCSFpEFyQ3hGtkAZ2V2v rP5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=a1fNsAMB; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id o72-v6si4635068wrc.457.2018.06.22.07.50.53; Fri, 22 Jun 2018 07:50:53 -0700 (PDT) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=a1fNsAMB; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 4A56E267700; Fri, 22 Jun 2018 16:50:47 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 82ED32676DD; Fri, 22 Jun 2018 16:50:42 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=disabled version=3.4.0 Received: from heliosphere.sirena.org.uk (heliosphere.sirena.org.uk [172.104.155.198]) by alsa0.perex.cz (Postfix) with ESMTP id AFA4D2676B0 for ; Fri, 22 Jun 2018 16:50:39 +0200 (CEST) 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=p9yR7Hnp59+iNbFzzVTtC/DzyXL6g7B9mKW6ScId3eE=; b=a1fNsAMB+2CN ShtQCEi5iNLLWek99VD4OfJKAaeL6kEghOOs2psb0aWQB/01IfFizuWSDEN3lmENI2NuhR+VTXWN1 36W7mYBS68Ma+9LtaewHCjMvIVMv3oD7iri6vJN0LFDBPIROmqvXR0bOk0u9q47GbwSusdMCWsGa7 lgIMw=; 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 1fWNOS-0003uh-MP; Fri, 22 Jun 2018 14:50:32 +0000 Received: from broonie by debutante with local (Exim 4.91) (envelope-from ) id 1fWNOS-0002fp-81; Fri, 22 Jun 2018 15:50:32 +0100 From: Mark Brown To: Katsuhiro Suzuki In-Reply-To: <20180621025628.4046-1-suzuki.katsuhiro@socionext.com> Message-Id: Date: Fri, 22 Jun 2018 15:50:32 +0100 Cc: alsa-devel@alsa-project.org, Masami Hiramatsu , linux-kernel@vger.kernel.org, Jassi Brar , Mark Brown , linux-arm-kernel@lists.infradead.org Subject: [alsa-devel] Applied "ASoC: uniphier: remove redundant check of PLL ID" to the asoc tree X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org The patch ASoC: uniphier: remove redundant check of PLL ID 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 366f074d047b2538cc5d7e4a820bb6c117a3ccec Mon Sep 17 00:00:00 2001 From: Katsuhiro Suzuki Date: Thu, 21 Jun 2018 11:56:28 +0900 Subject: [PATCH] ASoC: uniphier: remove redundant check of PLL ID This patch removes redudant check of PLL ID. struct uniphier_aio_pll enable member has already been checked at is_valid_pll(). Signed-off-by: Katsuhiro Suzuki Signed-off-by: Mark Brown --- sound/soc/uniphier/aio-cpu.c | 5 ----- 1 file changed, 5 deletions(-) -- 2.18.0.rc2 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/sound/soc/uniphier/aio-cpu.c b/sound/soc/uniphier/aio-cpu.c index 2d9b7dde2ffa..ee90e6c3937c 100644 --- a/sound/soc/uniphier/aio-cpu.c +++ b/sound/soc/uniphier/aio-cpu.c @@ -219,15 +219,10 @@ static int uniphier_aio_set_pll(struct snd_soc_dai *dai, int pll_id, unsigned int freq_out) { struct uniphier_aio *aio = uniphier_priv(dai); - struct device *dev = &aio->chip->pdev->dev; int ret; if (!is_valid_pll(aio->chip, pll_id)) return -EINVAL; - if (!aio->chip->plls[pll_id].enable) { - dev_err(dev, "PLL(%d) is not implemented\n", pll_id); - return -ENOTSUPP; - } ret = aio_chip_set_pll(aio->chip, pll_id, freq_out); if (ret < 0)