Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp201499pxj; Thu, 10 Jun 2021 19:29:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzkGcigEIh7A3jI+kWFbM303PuKEO+uaaqUuCqyXQkXuihi6/D+NKbE42hB1UGpfO+ZFa2p X-Received: by 2002:a17:906:edb3:: with SMTP id sa19mr1315712ejb.75.1623378573386; Thu, 10 Jun 2021 19:29:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623378573; cv=none; d=google.com; s=arc-20160816; b=PuB/atLoj3ejjdMynDTrtNEwZ8hxylLCoO71HQXDnLYPfhYPuQ4r6S3JS+S89f/L7m zA1IvGsYW8EITQLwtJYRCnYdRwOJjv+W8qSm1CDta/FOHEeIuXlbSphxLTc6aDZVCWBC OdynSMhsTmZ29HmoZk45zX9AGs4im+k20IsOrWMifFIRICDDal0Bb6GowDZZydQH1mO3 wjE3ufae5m4dD6RUD9N517yZFZZggsr/BecMnDeDr3FdslnthZwrNTJSNZhQuhZerQxS dcamiNtxHs+s8i6FxZQzqvhTyUqzKKB1VZWT5Vi/LH05qPt6MIVYP2l+6alHLrewSO6r fTsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=7FsXY/TbSGUUDENZzS6CIpHdUvNAOKNKXgpKq5u4rXU=; b=Ws1KGxn5/prnXahlP9O8IWqNS4ag4bHe/coK/sVKi/r7soUwYujoYJthfEW2yjhXwX UoJUFW6nZv0A1JOnOZRnMnhqlh2ooXkDpY/251O4MqbSstC+ZSDVtuRpNUQjW0M2sFUy CcSK+yQfNx+dgFVE7G9WSqyK9H34ckeMzt6LrRyXXwrwlkhJkz98GqHKz14Ca21eQBND f4So0oDOw1FCr2AHgewiuhFHqF4FuclFVkqf8uGmpOrYM+Wup3zeoDG2M7VfvL1+HheH gl6quvNWm4YTVQ/jashASN6w/4Ko6C/Si/iqjmxI92w0TxaQXD2XUNyYHABQAcxQlAf6 sSvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=I2eukyki; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t8si3542726edr.491.2021.06.10.19.29.10; Thu, 10 Jun 2021 19:29:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=I2eukyki; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231531AbhFKC3I (ORCPT + 99 others); Thu, 10 Jun 2021 22:29:08 -0400 Received: from mail-qv1-f53.google.com ([209.85.219.53]:43996 "EHLO mail-qv1-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231520AbhFKC3H (ORCPT ); Thu, 10 Jun 2021 22:29:07 -0400 Received: by mail-qv1-f53.google.com with SMTP id e18so15792578qvm.10 for ; Thu, 10 Jun 2021 19:26:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=7FsXY/TbSGUUDENZzS6CIpHdUvNAOKNKXgpKq5u4rXU=; b=I2eukykiphXFQViXcXYmNXYcayHQieCzV49bgZWYLDdkww6G3d2j0qfqzxreHlnYSI v/HEDSDf02kjpLsUckDsFqDTQoVG0g4s04oX/4cCJ+iN8hs/Ar1nRZ+2CaodIEbP/CQR fBL9nAbihtMYVpgNmymE0y4FaiGGHXBr5JQipolDQ9y1duTTcuOn1biEoOsaWsk4ts0H oBQkD6Wvsz/4nkbP9EEfgsDmbAwS0Voq6kY6jTBaCKZBdIGolFuD8IdP0ZJF3nvQq/sa zglPT+b/jLnTA8hkzYcjo6OcDop+++rp4rdNR5Tk3ceiqO8ntyN9mf6+Ae87R3jMbJI4 +t+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=7FsXY/TbSGUUDENZzS6CIpHdUvNAOKNKXgpKq5u4rXU=; b=K5u493EHcfy2PUoLVn+6/VSOijdluHYmSQd0uxkNbY6+gyvig9yghYS7XtnHjYaZHQ NCdWt0JtAn3Qv12Od4PACFFdqGPsScUcC9tbb5vQdmZaZFlVT1rxTKyPjK2MIT3iKbDp umIj4HVq11Hz8dYuavjN6QJvX6zHnIjEGbYFTF7WUW5ql23nT+76pmn/e4jK2cAnxPwK 4l6YV+WTqWTqWQ1MHKaDSxdfHwpOYlB99yfy+BlPJRGY4emnBDfK64Scbzl9kiu5ybLO bd+vSa4abEypHDbWaRYNxRkWCbtWydmLXOYLsWhLl18Y1fUdVj2J4APJCHanRi26ft61 3wYA== X-Gm-Message-State: AOAM5318q+7WkXoGsnji8E2gXsUyH3ueGtzMIG99FWkwElVcHC3wrJs0 3i5S0EksoSlzAIizY6vCKnrzmHuwbQWlmkqL71w= X-Received: by 2002:ad4:576c:: with SMTP id r12mr2699884qvx.28.1623378357051; Thu, 10 Jun 2021 19:25:57 -0700 (PDT) MIME-Version: 1.0 References: <20210610040037.1064-1-hbut_tan@163.com> In-Reply-To: <20210610040037.1064-1-hbut_tan@163.com> From: Shengjiu Wang Date: Fri, 11 Jun 2021 10:25:46 +0800 Message-ID: Subject: Re: [PATCH] ASoC:fsl_spdif:Remove superfluous error message around platform_get_irq() To: Zhongjun Tan Cc: Timur Tabi , Nicolin Chen , Xiubo Li , Fabio Estevam , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org, linuxppc-dev , linux-kernel , Tan Zhongjun Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 10, 2021 at 12:02 PM Zhongjun Tan wrote: > > From: Tan Zhongjun > > The platform_get_irq() prints error message telling that interrupt is > missing, hence there is no need to duplicated that message. > > Signed-off-by: Tan Zhongjun Acked-by: Shengjiu Wang > --- > sound/soc/fsl/fsl_spdif.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/sound/soc/fsl/fsl_spdif.c b/sound/soc/fsl/fsl_spdif.c > index 2a76714eb8e6..29cefd459241 100644 > --- a/sound/soc/fsl/fsl_spdif.c > +++ b/sound/soc/fsl/fsl_spdif.c > @@ -1368,10 +1368,8 @@ static int fsl_spdif_probe(struct platform_device *pdev) > > for (i = 0; i < spdif_priv->soc->interrupts; i++) { > irq = platform_get_irq(pdev, i); > - if (irq < 0) { > - dev_err(&pdev->dev, "no irq for node %s\n", pdev->name); > + if (irq < 0) > return irq; > - } > > ret = devm_request_irq(&pdev->dev, irq, spdif_isr, 0, > dev_name(&pdev->dev), spdif_priv); > -- > 2.17.1 >