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=-7.1 required=3.0 tests=BAYES_00,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 4BA4FC433DF for ; Fri, 31 Jul 2020 18:03:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2067A22B40 for ; Fri, 31 Jul 2020 18:03:13 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="JV5DQKXh" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733310AbgGaSDM (ORCPT ); Fri, 31 Jul 2020 14:03:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55326 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729753AbgGaSDM (ORCPT ); Fri, 31 Jul 2020 14:03:12 -0400 Received: from mail-pj1-x1041.google.com (mail-pj1-x1041.google.com [IPv6:2607:f8b0:4864:20::1041]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E5775C061574 for ; Fri, 31 Jul 2020 11:03:11 -0700 (PDT) Received: by mail-pj1-x1041.google.com with SMTP id t15so8215945pjq.5 for ; Fri, 31 Jul 2020 11:03:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:content-transfer-encoding:in-reply-to:references :subject:from:cc:to:date:message-id:user-agent; bh=ZjrJAzYswZqCVSVIaoyYZxr9XduXpUTxG9r/FHGE6cQ=; b=JV5DQKXhPEbZKTdY/8xEmnRUaJnFZ7LpRkFNdVg882PxA6eUu7EJ+xs95vbhlWnBAy zhZODJsM0wtKe982BnYqX16laW9iIQpvT2uxERVmPiP8PSa7mob3ZaZJs5f5PAsxMQ2u /B+DYSkBO5j/d8fsT1tndObpzg3oXpgAa6UVk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:content-transfer-encoding :in-reply-to:references:subject:from:cc:to:date:message-id :user-agent; bh=ZjrJAzYswZqCVSVIaoyYZxr9XduXpUTxG9r/FHGE6cQ=; b=oE5TYLX5p0Y89BW5DlmOgoKPHV+JHn4N6p8+u33XNILuJgCqm2ox4PYlVSjSUAtgBV BKMoY6tguGiiQRPJY2opA8sMgoLs1Jy2obZ0/yXKN2k+JZ5hzQ/7lR8t6+HjO2otMabs 4s0XgV/kVqGp58256V9210UMEt9LGif4xfE//MLinZ5NoGYIkPwXg9bum3OrBsn4Ytz6 5xehRsPJnJv3xPtVZwxOfrop+w+j9SRLlHAtyOtdr2AmYCbEIPsxw6wQAj0gTc3zzgVw +VgQC3kriewMwhfksOj2DfP4xAFlDR+Hcqw6BPl308PmpI9J39+6m2GwCeI5jENIwqAd o5pA== X-Gm-Message-State: AOAM532cK0OxQQXc/cvuHgLB9vNlbtVRDZRPtWAaYj1lf/XlA72YMuDj KUHjlq5QXDifBGS1fSoF/0wVlg== X-Google-Smtp-Source: ABdhPJymp5GnPhZUtJTMWMSmAeJ7UyHP5HdsLB4so0CKriPHdFZEzBcgwvs9bW2i0cZF8tcS94m/hQ== X-Received: by 2002:a17:90a:8a87:: with SMTP id x7mr4536026pjn.81.1596218591350; Fri, 31 Jul 2020 11:03:11 -0700 (PDT) Received: from chromium.org ([2620:15c:202:1:3e52:82ff:fe6c:83ab]) by smtp.gmail.com with ESMTPSA id e65sm10140754pfe.91.2020.07.31.11.03.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 Jul 2020 11:03:10 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20200731104555.v3.3.Idbfcd2e92d2fd89b6ed2e83211bd3e6c06852c33@changeid> References: <20200731164853.3020946-1-campello@chromium.org> <20200731104555.v3.3.Idbfcd2e92d2fd89b6ed2e83211bd3e6c06852c33@changeid> Subject: Re: [PATCH v3 03/15] iio: sx9310: Fix irq handling From: Stephen Boyd Cc: Jonathan Cameron , Daniel Campello , Andy Shevchenko , Douglas Anderson , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , linux-iio@vger.kernel.org To: Daniel Campello , LKML , LKML Date: Fri, 31 Jul 2020 11:03:09 -0700 Message-ID: <159621858968.1360974.3370824821343276249@swboyd.mtv.corp.google.com> User-Agent: alot/0.9.1 Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org Quoting Daniel Campello (2020-07-31 09:48:40) > Fixes enable/disable irq handling at various points. The driver needs to > only enable/disable irqs if there is an actual irq handler installed. >=20 > Signed-off-by: Daniel Campello > --- Reviewed-by: Stephen Boyd