Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp942630imm; Fri, 22 Jun 2018 07:52:12 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKi4xpc+oMZ+kmUiZzig3wh+q7VMvICDgs5Oiz9bJy8ApE/OJM/HINUhXN4BcN78ODRDspu X-Received: by 2002:a17:902:b216:: with SMTP id t22-v6mr2037419plr.199.1529679132702; Fri, 22 Jun 2018 07:52:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529679132; cv=none; d=google.com; s=arc-20160816; b=ofei7hA9Fsvt24Jtkg7Q4QZ5zj2GMHcQhdZB8htx6CU2/TNsJ+hrj4gpvtVeLTaseI 6Z3odWyy75S8XoAoO5BpKaqeSSLw1hC47Vduy+aIcuUpAQgibUGoeE8qBRl46Vu2F1EJ JbIxkSynXzED2ifsdnBybiWO7TCAPeNc0J9tB/tT4yr9NiSMBVVBerVWxwYBdBgeiNJd FJoOpWMDcvh8/sxVZHreSw2mxYbgyO92zeafhPJionvelk6nL99Su+QWjG+1nseRFAci rXVDOkZtxKDyIKId2P9/9ysxXitoHirNOqXLzjG/v/Va91iZfthdb18VfrppWyGX8kWc x5gg== 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:arc-authentication-results; bh=p9yR7Hnp59+iNbFzzVTtC/DzyXL6g7B9mKW6ScId3eE=; b=L01sWqk/gbiGpCtZA+cIcJDYhlR23v7RrhW25XHfVh/IVGw2V221c4ExR4CdQLwG8W AA7TOO7Nhh57UNcN2dlpa4R1MYa2Jg1vcMUVlf7unpTAhaPJdDEfZMuzVle+GFZSjD7j YtKaWilqqIiL+856MRhDe+KOBfluvK8hFs9r7tz1LBkcPgu5Iy/tGGnGC/v6k0aRpCz/ 7tsBIq/uBhSIbx9S7YfdqbZoFgHmLsTRG7tA5jRhHhsOsX0X7nm3kzieTSllk+7mjbIv 60RtPMalUyMRtmD04n7G2Xc0Q/BUuK1T2AuLX8NjKwZYS0BLrWnr3IJzm3vqJRYtRCyQ rFEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=a1fNsAMB; 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 a95-v6si7741538pla.401.2018.06.22.07.51.57; Fri, 22 Jun 2018 07:52:12 -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=a1fNsAMB; 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 S933785AbeFVOum (ORCPT + 99 others); Fri, 22 Jun 2018 10:50:42 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:32998 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751970AbeFVOui (ORCPT ); Fri, 22 Jun 2018 10:50:38 -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=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 Cc: Mark Brown , Mark Brown , alsa-devel@alsa-project.org, Jassi Brar , linux-arm-kernel@lists.infradead.org, Masami Hiramatsu , linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org Subject: Applied "ASoC: uniphier: remove redundant check of PLL ID" to the asoc tree In-Reply-To: <20180621025628.4046-1-suzuki.katsuhiro@socionext.com> Message-Id: Date: Fri, 22 Jun 2018 15:50:32 +0100 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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(-) 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) -- 2.18.0.rc2