Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp459128ybz; Wed, 22 Apr 2020 01:27:37 -0700 (PDT) X-Google-Smtp-Source: APiQypIpxZ5hoeHqO7JXndT0+N25BSalgnaSqK3YDxv+IzRQE6OB/1ziKfH6JATzthjiDFaQ7WAA X-Received: by 2002:a17:906:33d4:: with SMTP id w20mr24607539eja.284.1587544057668; Wed, 22 Apr 2020 01:27:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587544057; cv=none; d=google.com; s=arc-20160816; b=RLJc5WdytMDlAqiqqSgFq2gQn/MBJOYljyQK0Iqh6RczII5P5qf5SNeLL3WbVfupmO jSPLfbCmU0Op10n5zjqtgXrtO6nk48YBMuKKk5Nn2k06GTMbRzD2DyVWoIuizc9THPYz qZ4sVvtj1RrYs6rUoMB0GiJfSMUbb3lqE+2i4XxqSwrECD8Ef//JcdXG/4UQ4V0uv+8B nLcWwnMDiO1Di5BYF3XPn3SrELF6I1Jkhw+oGk9usNfpCdUMdSah9cA/mn4QOUyaoTH+ buEIlR91qXfxsphpV0OQwxJ3ay0ykSxZ3JJwirj1E7ROISDMqKQaSmLBWnY/6oWlMb9w x3cQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=PV0Q009XDUBEJ6XOBiBMysKQr9TzSZ+SGvleeYy/DRE=; b=guqxOvjtrIvP1D3xN4yjLdSpVGGRhIuumZjnsrhrPhrztzAqptP1+GpYiV76qnW+3D cf+ADBdLQBfolmOttEzFsMhTly81Y8R0Pc612KAb1XO3bvCLSVPis44Ns8MJO6VSO2da RikyTMyQqYV++RQRAYhH5ajXTX8M9qJtR5dtbAoESYuTo31xhTdfb4cSdy1/TFZC3FFz wTAQTDmhtSHP6mw8mdSUvvD4f7cnVO3LNR/gFotUtfy8Agsck9+qzJ3XxdDzVwtBZH6q FNHq+zM7gHpUZdYQRGFCDZi/qCCjruvKlRBLcS6Fap8F2xYX1gE7jQnb//hTpDMK7yBa c0vw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=lbCTeiS7; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n7si2937366edt.587.2020.04.22.01.27.11; Wed, 22 Apr 2020 01:27:37 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=lbCTeiS7; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726154AbgDVI0I (ORCPT + 99 others); Wed, 22 Apr 2020 04:26:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725899AbgDVI0H (ORCPT ); Wed, 22 Apr 2020 04:26:07 -0400 Received: from mail-pf1-x441.google.com (mail-pf1-x441.google.com [IPv6:2607:f8b0:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 603AEC03C1A6; Wed, 22 Apr 2020 01:26:06 -0700 (PDT) Received: by mail-pf1-x441.google.com with SMTP id g30so713251pfr.3; Wed, 22 Apr 2020 01:26:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=PV0Q009XDUBEJ6XOBiBMysKQr9TzSZ+SGvleeYy/DRE=; b=lbCTeiS72NHzKWWYdWdfDa60Hq6oYQzqTo5vFJSmMqyrhbKTtHlQtvOWKvhygmOAaI 1wT+bPsMk7/1IxWz/YBxWP30rH+4lvAbCmyK6mmnfqVlYJDHWqXa7zRlvJPzY1aGXex+ wLxdS61HfpILOtiMbgBXgY0Gad2514Xp1zoPkIS0s6SnqxqD8WgDfTxu5HB/+r4NqAn4 2FiZ1GpdFjOlKm1lzwTdpumw3++JUq41xQeYpyi46eO5LLls6+YuJY/c7txYqQ3gl9lV +0SmhcG+oL2fItZwd29oJ+sGAQi/jyq0YClaG7xKRk9oN1i570pdmPU84dQyCRkz3S7X 1TXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=PV0Q009XDUBEJ6XOBiBMysKQr9TzSZ+SGvleeYy/DRE=; b=VSmGbBWYFw35bP5xGY95fiUE9eda473FNH2JjoyJ+yGaKTV93gRYkspccg0bMgjUr5 XbDL+Wel0hgpCAngDrMSpRZEA+YZy+UHlKMLCZzLH8U9A5qupzJV9Ho7iQjpwoQgGAv2 ZF71ENLYAFv3qDJESa0T73748dkU1tUXg2wZxAtz9mar2jfZjXgPDX3/RcR10zsrjgJl 72o/E7zUWnH3NG2f3LFgbMxGqq87xSsEr4oDuNd7QbfXrfaMlSaufUDziuJhsiQ68+UA J0woGMZx9oPpNh5vXQQBap/CJmGsMz59bNGufHPlwbB5z5KkUNVBMFNUZDgIEQu1GoIs k0Jg== X-Gm-Message-State: AGi0PubtwUC3GdT74KFE1xUsqDy0jAnHF6bpJin9Fs5CMi6Mt1q8U6hb OpWLVa7Opzjc0P97X0mJCSWMY1jOHMmHNfCvNUw= X-Received: by 2002:a62:5ec7:: with SMTP id s190mr24959141pfb.130.1587543965739; Wed, 22 Apr 2020 01:26:05 -0700 (PDT) MIME-Version: 1.0 References: <20200421075532.19192-1-m.othacehe@gmail.com> <20200421075532.19192-3-m.othacehe@gmail.com> <87y2qoosn0.fsf@gmail.com> In-Reply-To: <87y2qoosn0.fsf@gmail.com> From: Andy Shevchenko Date: Wed, 22 Apr 2020 11:25:58 +0300 Message-ID: Subject: Re: [PATCH v4 2/4] iio: vcnl4000: Add event support for VCNL4010/20. To: Mathieu Othacehe Cc: Jonathan Cameron , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald , linux-iio , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 22, 2020 at 11:02 AM Mathieu Othacehe wrote: > >> + ret = devm_request_threaded_irq(&client->dev, client->irq, > >> + NULL, vcnl4010_irq_thread, > >> + IRQF_TRIGGER_FALLING | > > > >> + IRQF_ONESHOT, > > > > Isn't it by default when threaded IRQ is asked with NULL for hw handler? > > No, and it fails with this error message if IRQF_ONESHOT is not set: > > pr_err("Threaded irq requested with handler=NULL and !ONESHOT for %s (irq %d)\n", Ok, thanks. -- With Best Regards, Andy Shevchenko