Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2414416imj; Mon, 11 Feb 2019 02:25:29 -0800 (PST) X-Google-Smtp-Source: AHgI3IZU7IGXkMN2EI4WbMhVb4fiGsRbQBUpvOWu848QjBnAt5+a9V71+LorSp+9eldKoBrgtMQ1 X-Received: by 2002:a63:3703:: with SMTP id e3mr17437920pga.348.1549880729522; Mon, 11 Feb 2019 02:25:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549880729; cv=none; d=google.com; s=arc-20160816; b=ScsZNNGaCDSggze9UH/9vV3LDmoXbhwL6ROJ96P+7X14rqJxu2sa6H6g3sp/QJneXT aVpLOrGkTMmZw5J8oBhAomO574iVIDh1/HzkK/vx0LKjd5K1Rj8c1vqRFMl66W49Xcut k5c5YPbxPESvYo+zE77pL02Uhc9fLxEQyshctzOC9/83C6qOw1FZQLNrdCKEIaZOv836 EckNitwPMCPZXTvi8pC+/1pj+eiwKCcFwEc1AH0TsOljcxv18QzvHY9aDBwRIBTBxHrv Uqvo4K7F7E0OYJooPy90/miihrw1kPX59x7hfZ7hJGk0Smyezyb5V5RgGs1t4S4KM8Ry 2b3A== 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=EgUFWkmtrdxmV4w1zkUaBGUOkcra8oJkI2kGGOYCOTE=; b=yRIEIuqkCZ+DQt2M+Po0kTcoaKbHklVzSe3IPjpyAhLKfu/4uFgEUyQFKHhus12ESO VSU16YBCcFqeyaEG/9WFv8azqT4/frJDbkXt8S0x2JtDs3M3RpC8cWLij4pffc7FlV1F jcB3m4KSqroS/yXc913+BIv9kDTCLAgs4vMeA078OhHC6n5HAd7pBpMt4fPxqKOD1yud PmHyb8BjognOJb1bTeSuOl3Uax74iVpjMV1Ju6suvz+t0MhtdGXWXlE6JpP5ovSwOFrB J59lemDDocaPfNdvIm2YgGniA5QfA8YkPBo9whZEMLviEipYl4ImpGfFTmfMtEDmNo49 JR+w== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q1si4672792plb.229.2019.02.11.02.25.13; Mon, 11 Feb 2019 02:25:29 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727027AbfBKKYi (ORCPT + 99 others); Mon, 11 Feb 2019 05:24:38 -0500 Received: from sauhun.de ([88.99.104.3]:52930 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727012AbfBKKYg (ORCPT ); Mon, 11 Feb 2019 05:24:36 -0500 Received: from localhost (p54B333B4.dip0.t-ipconnect.de [84.179.51.180]) by pokefinder.org (Postfix) with ESMTPSA id 5601B2E3551; Mon, 11 Feb 2019 11:24:34 +0100 (CET) Date: Mon, 11 Feb 2019 11:24:33 +0100 From: Wolfram Sang To: Federico Vaga Cc: Peter Korsgaard , Andrew Lunn , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 2/5] i2c:ocores: do not handle IRQ if IF is not set Message-ID: <20190211102433.6m4s64t3wa63tru7@ninjato> References: <20190211083122.32485-1-federico.vaga@cern.ch> <20190211083122.32485-3-federico.vaga@cern.ch> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="6h33aoy6y5djgoxw" Content-Disposition: inline In-Reply-To: <20190211083122.32485-3-federico.vaga@cern.ch> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --6h33aoy6y5djgoxw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Feb 11, 2019 at 09:31:19AM +0100, Federico Vaga wrote: > If the Interrupt Flag (IF) is not set, we should not handle the IRQ: > - the line can be shared with other devices > - it can be a spurious interrupt >=20 > To avoid reading twice the status register, the ocores_process() function > expects it to be read by the caller. >=20 > Signed-off-by: Federico Vaga > Acked-by: Peter Korsgaard > Reviewed-by: Andrew Lunn >=20 Applied to for-next, thanks! --6h33aoy6y5djgoxw Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAlxhTWEACgkQFA3kzBSg KbZ8kg/+Pw+/J4w/2Zij3BSKodk5mkEkOzma3nz+bSaPze2w5+KiFcJSav9T3g8Q LwZSK2Y3LA0e4euctzB0m91ZUrs4/aAQmI80IaOT2214KnZEGzR5VUqAqcb48DvD gNA8ayksPksDOFZX+gLYBnOqcOOSkSD2rYeeS8ELeL5nJ6X1QrCqlRqW3u+iNUNp B67tmCyH9exGsbM9Bi+nm0NeSkHjhEsWtop/DHQCrIaIp4FjhgYRfwhKuCUA07im rq7i2ILqvnGSJE2Se8n0WjCLiVfqAB2VgwgGLSVcCOwmZoXqiD1rHXOtKv5x0bxp 1DozUL8L/HluG6EzsRaj87sqcgG+PEDHv/An8lFmpeEfj1ZGvdrXDKNIt7wn0smE 0mWHUy3E7rBlHKKFPX3wE3MGqHjZFN2CLRY7aa9CBuSRR4R8VNltxMzeTUUbsD6V pppa0PQUfKzTLtcWVjVtGgMJw+kbchHdPXY92iguidK+39qt2EWPtYvo99xpiYQL XaTmm5OGXzE2asVfKwpJxWNcn3zGkpiGMTrQB1Trcokn6faiTUe0Zw1RKiNjuyAW fgouPjTpdRu8RzEwGwWCy12r/om1vC080kOKgn5XpsShbwr557N9tAMqA8lBv1CL Gjfof5WkltN04H+GXB+ANMygk2iF5W8qjtdG5CXlv9Q9BeALyJI= =8Ot5 -----END PGP SIGNATURE----- --6h33aoy6y5djgoxw--