Message ID | 20200803131544.v4.15.I4c344a6793007001bbb3c1c08e96d3acf893b36b@changeid (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=LISt=BN=vger.kernel.org=linux-iio-owner@kernel.org> Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 43E65912 for <patchwork-linux-iio@patchwork.kernel.org>; Mon, 3 Aug 2020 23:42:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7006A20792 for <patchwork-linux-iio@patchwork.kernel.org>; Mon, 3 Aug 2020 23:42:28 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="XCvS7meq" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729139AbgHCXmY (ORCPT <rfc822;patchwork-linux-iio@patchwork.kernel.org>); Mon, 3 Aug 2020 19:42:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33766 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729021AbgHCXmP (ORCPT <rfc822;linux-iio@vger.kernel.org>); Mon, 3 Aug 2020 19:42:15 -0400 Received: from mail-io1-xd42.google.com (mail-io1-xd42.google.com [IPv6:2607:f8b0:4864:20::d42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D7E7DC06174A for <linux-iio@vger.kernel.org>; Mon, 3 Aug 2020 16:42:14 -0700 (PDT) Received: by mail-io1-xd42.google.com with SMTP id k23so40312582iom.10 for <linux-iio@vger.kernel.org>; Mon, 03 Aug 2020 16:42:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=riJ3umw0V2+FfFxLjOBTqqOTzlRoPL8VdrC9Npn7RlM=; b=XCvS7meqieMCTnygetGwEK0pJso1pPfTOnD6XIxJZ3Uepl0ffi8YRsw/QlwSYrgHdg xnz7PgLuS2B57e3/UEnOuDehPoctgxNgnzt0F7ph/fyRZWG9cRN5sCO2WaPZfWM12LgA utsMT2ecb+ZKB9bHVVeTo57fv4AA5BnDnCk6w= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=riJ3umw0V2+FfFxLjOBTqqOTzlRoPL8VdrC9Npn7RlM=; b=G5jKlEQNIWkd57+oDFOvBbT8KjgtDOHDMwOQdizlnSvOZmhUg5m6vR5/XxvurdPDQl HlK9KuHOSwqyzYg+wYgpe8C8uspnDgCutQuyYvf0TLkwdLYPBLvKx8EBWanherwunZRL 8kFl5G05QDv1IQh6NwdWI+XMeHbWoPHHjISOt/ccKljvcAG47fPDwUrT9YoLHh3xhZpz ScrErkq7mIfGw7dRKx5Ki6lT51nSSsmG4PpMvL/Clb1a63u7cGIZwW4J90fAfI8k5lnj ptktFa3XvyFDslSPu1aWfS9r7XXw/uyYQ+F6mengiw2dJbNrXDJClqf46s14z8gsSur5 YD3g== X-Gm-Message-State: AOAM532X/rYCqUy1vB58dEnT/MyV6Ma8809K/nuo38zNJR3knsHy6LqY pyGGIrB+/1Rsoz5nbcCPcuX+fg== X-Google-Smtp-Source: ABdhPJzZk3yQ+cOxunAhzmGr08Vzc3KwmOscO6pv6ZRnMceZ+QX863JCBZEYJ3pblsOKPp8aAi83ZA== X-Received: by 2002:a02:838e:: with SMTP id z14mr2649202jag.84.1596498134252; Mon, 03 Aug 2020 16:42:14 -0700 (PDT) Received: from derch.Home (97-122-92-59.hlrn.qwest.net. [97.122.92.59]) by smtp.gmail.com with ESMTPSA id g2sm5468435ioe.4.2020.08.03.16.42.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Aug 2020 16:42:13 -0700 (PDT) From: Daniel Campello <campello@chromium.org> To: LKML <devicetree@vger.kernel.org>, LKML <linux-kernel@vger.kernel.org> Cc: Jonathan Cameron <jic23@kernel.org>, Stephen Boyd <swboyd@chromium.org>, Daniel Campello <campello@chromium.org>, Andy Shevchenko <andy.shevchenko@gmail.com>, Douglas Anderson <dianders@chromium.org>, Gwendal Grignou <gwendal@chromium.org>, Hartmut Knaack <knaack.h@gmx.de>, Lars-Peter Clausen <lars@metafoo.de>, Peter Meerwald-Stadler <pmeerw@pmeerw.net>, linux-iio@vger.kernel.org Subject: [PATCH v4 15/15] iio: sx9310: Use irq trigger flags from firmware Date: Mon, 3 Aug 2020 17:41:54 -0600 Message-Id: <20200803131544.v4.15.I4c344a6793007001bbb3c1c08e96d3acf893b36b@changeid> X-Mailer: git-send-email 2.28.0.163.g6104cc2f0b6-goog In-Reply-To: <20200803234154.320400-1-campello@chromium.org> References: <20200803234154.320400-1-campello@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: <linux-iio.vger.kernel.org> X-Mailing-List: linux-iio@vger.kernel.org |
Series |
sx9310 iio driver updates
|
expand
|
diff --git a/drivers/iio/proximity/sx9310.c b/drivers/iio/proximity/sx9310.c index a6e345bb9ffe5c..9d1b35eee304ee 100644 --- a/drivers/iio/proximity/sx9310.c +++ b/drivers/iio/proximity/sx9310.c @@ -947,7 +947,7 @@ static int sx9310_probe(struct i2c_client *client) ret = devm_request_threaded_irq(dev, client->irq, sx9310_irq_handler, sx9310_irq_thread_handler, - IRQF_TRIGGER_LOW | IRQF_ONESHOT, + IRQF_ONESHOT, "sx9310_event", indio_dev); if (ret) return ret;