Received: by 2002:a25:1104:0:0:0:0:0 with SMTP id 4csp564555ybr; Fri, 22 May 2020 13:21:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx1Q7MHCGYdmtufn+b15MpFTvxfZtNXVr53jGa4iKhrpLSCmBa0ezEqshYjtsgy2H1kDzMt X-Received: by 2002:a17:906:4e13:: with SMTP id z19mr9461613eju.339.1590178907233; Fri, 22 May 2020 13:21:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590178907; cv=none; d=google.com; s=arc-20160816; b=hzbGokOvVdR6rLa8wPs/1fmecXLhwk4fi6XB5L00tiK+SLg69PKrSh6v2ZP2ErNx/e CdYve63b2zPak43zTF9wpInRylk7C/IHVTkuIU2m66sfv+EysYKzDAo0RjxSDPaQIrot VTBpYzkQJPhj3/GVLFOakAedngTMcXXNdeyAud9UDqW6boNBVq5j5X8XmwWO7nTyoFwj w2R7IsWaqNaoEfwS/eoXmD8apNfbwfqPRuSp50n1mRdc4/ZFyAsOQTveohFWp3RlyEp4 tgCUKykhOFwzqPxPY2nQZDOFH/UXOJ5mfsnQHvfiUbeA2uIhXYHFLykwp6WW1QvVNAHD wLDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=3Y6sl1atTMaxT5Yoi8Go5LBAxbEV1WbKVHdchW3+KFA=; b=H60umEWriWnbeG/aSol8hrcNnPeCzemnH6ijBSkEGUvLocSlIHFIFYa4dQ+hPy/zFA I/GgM3xyOcixRrS5R959PR+VkXQckfeAgQdXLGXHDCEfDg6/yAA/dB94YBIOm93+MKLM W7FP3LsQXYdDAAsn+O3o6r4uxuXbu6SODk0z+qX51ZSU/DNndaxTCnSaWoP0jACxw2/d wpowtTHDVNqGrUdmPr1vF5IaLfpJjl7SngBZscO8dMnsI/3VqICG3mRdMa+GPKIGM8i9 wJwyTkx7UdahkGx5KShtWNnX5xbdNxBsiO3WoUfrrWn//8kF2yw35f1vssqO1AAbyl/e 1SdA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id du9si6682201ejc.154.2020.05.22.13.21.24; Fri, 22 May 2020 13:21:47 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730981AbgEVUT7 (ORCPT + 99 others); Fri, 22 May 2020 16:19:59 -0400 Received: from sauhun.de ([88.99.104.3]:36478 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730965AbgEVUT6 (ORCPT ); Fri, 22 May 2020 16:19:58 -0400 Received: from localhost (p5486cea4.dip0.t-ipconnect.de [84.134.206.164]) by pokefinder.org (Postfix) with ESMTPSA id 3A54A2C203F; Fri, 22 May 2020 22:19:57 +0200 (CEST) Date: Fri, 22 May 2020 22:19:56 +0200 From: Wolfram Sang To: Michal Simek Cc: Dejin Zheng , harinik@xilinx.com, soren.brinkmann@xilinx.com, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] i2c: cadence: Add an error handling for platform_get_irq() Message-ID: <20200522201956.GB21376@ninjato> References: <20200520144821.8069-1-zhengdejin5@gmail.com> <2d99f043-f854-8975-86ee-2f0ba1382275@xilinx.com> <20200522151459.GK5670@ninjato> <7763d79e-3a44-2dbe-a4d3-45d40a3a1e02@xilinx.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="GRPZ8SYKNexpdSJ7" Content-Disposition: inline In-Reply-To: <7763d79e-3a44-2dbe-a4d3-45d40a3a1e02@xilinx.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --GRPZ8SYKNexpdSJ7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > You know about > devm_platform_get_and_ioremap_resource() > usage. > Maybe that's the way to go. Because as of today there is no way to pass > position of irq resource. >=20 > But I expect it will come in near future. Has been tried, has been nacked: http://patchwork.ozlabs.org/project/linux-i2c/patch/20200518155304.28639-3-= zhengdejin5@gmail.com/ --GRPZ8SYKNexpdSJ7 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAl7IM+wACgkQFA3kzBSg KbZlSxAAhMck/jA48zSbmMYyvVQ3019xmP3l9kYqEODd5UerZgwQkI+rtXRc6XqJ 0b6N8nD9h6ke2o5aQiNAWg8eJDtauFjm8scCboNh6sI+myBpEQ2x3gpMIuAJ4MaP AcJGc2ChHxXlxLaAKh1IA/VptdGL2n/6QKZVboWT/iX96KwOXIDE9VcPYPcUDsJM mDVio38M/1wg9hrNSpyg8hMaDgf46HoyC8cWe+wcK8MvQJsN34ctkerIe46Mar5T zfYWKsdUz84/5LbztBivRsJWE+BnaIb0a5b65Z1mnPipxtS+gDcBNxLd/yQJL86A mUsamqzTiDaS0/rAId13tpmPorwHyL7VbTSuiAmCq+LYpbIltu0ywL+Httu/S3VI WC2jjtdUn2S8x/3Y5aUlBd72NYdLs83xhWMW5VB7RyJVjAQj45RxKxTSYS6qjUrz F/ejDcsx7hsdgJ3qtgCG/qBFrVFgUmNGChUSm179xgxp5EVmG93WlS2FZV1OL/vh OInYrcS0KcFIaayWQ/vYsns78zEb8fmTJz24RkSkSpOxxE3Gvdu1sx2HSVSVkz6R H9MvALIbnsdq0vFZmLh7cue8dIEMSdAf5CLqmuqkXxJO65yk4TdQYbwFJx39yxNQ I6MgWowgu2U3Mt9VjeWVTSjXAPtSWgWX1SdSzmZU4j0w5fcEC48= =rVs1 -----END PGP SIGNATURE----- --GRPZ8SYKNexpdSJ7--