From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.9 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8CFC8FA3728 for ; Wed, 16 Oct 2019 23:26:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 62D9C21848 for ; Wed, 16 Oct 2019 23:26:01 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="C1LD66Kn" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2406752AbfJPX0A (ORCPT ); Wed, 16 Oct 2019 19:26:00 -0400 Received: from mail-pg1-f194.google.com ([209.85.215.194]:44484 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2406711AbfJPXZ7 (ORCPT ); Wed, 16 Oct 2019 19:25:59 -0400 Received: by mail-pg1-f194.google.com with SMTP id e10so137743pgd.11 for ; Wed, 16 Oct 2019 16:25:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=message-id:mime-version:content-transfer-encoding:in-reply-to :references:from:to:cc:subject:user-agent:date; bh=Qrvxi8VNIEP80MdoyXCLvX2dInmjYNYid6pa9CMx9/Y=; b=C1LD66Kn8oz6QcB4JFdprXZte3otJEvF9M2x3YmxrvIbQz6oHdj2oYpj6OogvYQljn rf6QL47fvOLb9HjbUEL+2zH59ECPYOgGXzagCFaZwp5GT1KcjTwrwM9pucVnjfhIlqBD ciUxzWRdllOfvxfpCZ3JK+oraf4kD0CEdfFdU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:mime-version :content-transfer-encoding:in-reply-to:references:from:to:cc:subject :user-agent:date; bh=Qrvxi8VNIEP80MdoyXCLvX2dInmjYNYid6pa9CMx9/Y=; b=PL1f3l0yBk83zED3nWNwdITxPoCBPYFDA1nmZPBkKoX1GEsY9GfNf+ILmXj0fEG+v6 HKZN1bRR9hQMUK9Co8IWQRwJzTfLrnJFJZctymgDcYJRhkNGCqUwC3OW/8TFuH37ke2d Kzf5aPg0z0ffxFqofuNSf92NpI5qhEFvmj2/fokGnNKc1N+hcAzGz7GUT3sK9nxUhfmQ gHDTNRPa+waezRqNgk23//VKxF9aewp2BEvhqfBkI2Zkdpftyt+iv59cwunAGlshyOwt iUBqObeQ8nhfw5tFjbrNNCPSjmG76PAlcFrpGEA4bi7C6fq5XCAxZhdb+ELex0v4wIIq EAtg== X-Gm-Message-State: APjAAAUu6xKkYorMQ3PJeYVzso+CCCZPs1YsfXpfz+hfysFo5QMdhWeW DUWZlW8lCJxQQMJUF+udHKXK+AFVPYvBvQ== X-Google-Smtp-Source: APXvYqzwan96igiVoJXoXnp0dlhIkgKisPOSNOslthiLl2WjZnd3MQpnyD29PbzVpemNzqdv3BAF4A== X-Received: by 2002:a65:644c:: with SMTP id s12mr708041pgv.319.1571268358755; Wed, 16 Oct 2019 16:25:58 -0700 (PDT) Received: from chromium.org ([2620:15c:202:1:fa53:7765:582b:82b9]) by smtp.gmail.com with ESMTPSA id y6sm182241pfp.82.2019.10.16.16.25.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Oct 2019 16:25:58 -0700 (PDT) Message-ID: <5da7a706.1c69fb81.7818.0cfe@mx.google.com> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20191016143101.28738-1-geert+renesas@glider.be> References: <20191016143101.28738-1-geert+renesas@glider.be> From: Stephen Boyd To: Geert Uytterhoeven , Mark Brown Cc: linux-spi@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: Re: [PATCH] spi: rspi: Use platform_get_irq_byname_optional() for optional irqs User-Agent: alot/0.8.1 Date: Wed, 16 Oct 2019 16:25:57 -0700 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Geert Uytterhoeven (2019-10-16 07:31:01) > As platform_get_irq_byname() now prints an error when the interrupt > does not exist, scary warnings may be printed for optional interrupts: >=20 > renesas_spi e6b10000.spi: IRQ rx not found > renesas_spi e6b10000.spi: IRQ mux not found >=20 > Fix this by calling platform_get_irq_byname_optional() instead. > Remove the no longer needed printing of platform_get_irq errors, as the > remaining calls to platform_get_irq() and platform_get_irq_byname() take > care of that. >=20 > Fixes: 7723f4c5ecdb8d83 ("driver core: platform: Add an error message to = platform_get_irq*()") > Signed-off-by: Geert Uytterhoeven > --- Reviewed-by: Stephen Boyd