Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp4051620ybf; Tue, 3 Mar 2020 18:55:09 -0800 (PST) X-Google-Smtp-Source: ADFU+vuWhK7hgiJTepho66ppylkhmn0nWktED1waZmfnbIUdsRwoJd1qvwvOxsQfbOqu2TmSWiN1 X-Received: by 2002:a9d:24c7:: with SMTP id z65mr721719ota.84.1583290509069; Tue, 03 Mar 2020 18:55:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583290509; cv=none; d=google.com; s=arc-20160816; b=UBThAa/aJ4I7wi9P1oArSpJzH9+I0C8rutHqx3aq58XhjAFdg1IZM1ZsXR2P+OsJYe oopvAsHzv5Fme4n3iSM6ZhJS51KMQodcOXGgOl2HRh26SQytxSUcCotBDdoYhfBkyiCj 26tPEwHCaDdaRXTjzxYUFMds5lLmYn/GfMCutdlVxp5m6CeIkI6aniQyUBVqtQaeXQHy N/AHU5oUpei7PEc58d4cO9OHb24xzFrFea3j1QtOr5lCCo1aWXlg7m+91q3rrmlqWtzJ +IRrM+8MlsLtjvlVFKJoTRxaAG4gjLOKo/XkEtASJfqmO0qEbUUYY40d5/DBm95ay/ec Lq8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=BeYrItptjbmjm//xr6aNyLoo5RY49LjduotLIGizl2Q=; b=cfKb4xU8egRYgy6b6yLmSStpqrWFhknuf6lFQsmUBbmYvMQHeD4i7C0idGgzYkB8// +YtDoS7Sv41HE+5FBvqx7jekZcJ7t+eOcZOrWqqPvTOe5MENcA1ngoBmxTXxhaGWDSTr 33WcSGJG3L0bR9GDJWZYL+qHhETnRJCORGegN/AgRxC+k0vQkTrFKJJXwV2dPxCgdpb0 bIGJUDAongcKWHvefCxzSY4PmbpuWT6ojTt6QWGABob/n6XKKLpWBHTrdlgiHkbhCKZn x7gO7IrmOEPLo1niAJcXD/ooFHZ/SkmPCXhH3e+Rn/CO3LyqsNcKTtJnG/ZlmPuK4buL Soew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@endlessm-com.20150623.gappssmtp.com header.s=20150623 header.b=svKGsOub; 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 w22si349057oih.103.2020.03.03.18.54.56; Tue, 03 Mar 2020 18:55:09 -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; dkim=pass header.i=@endlessm-com.20150623.gappssmtp.com header.s=20150623 header.b=svKGsOub; 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 S2387488AbgCDCyZ (ORCPT + 99 others); Tue, 3 Mar 2020 21:54:25 -0500 Received: from mail-ua1-f68.google.com ([209.85.222.68]:38643 "EHLO mail-ua1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387459AbgCDCyY (ORCPT ); Tue, 3 Mar 2020 21:54:24 -0500 Received: by mail-ua1-f68.google.com with SMTP id y3so146093uaq.5 for ; Tue, 03 Mar 2020 18:54:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=endlessm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=BeYrItptjbmjm//xr6aNyLoo5RY49LjduotLIGizl2Q=; b=svKGsOub7ZxaZcRswMLgCyDY9M7NlICSs5yYlhOef4CgZNMJcaYeET/xRbMKQ2Sjr5 x7GrMkay5P8/ZTFyES2T+ek+RbYR2RemcPCVu+HbAmIFr52QuJUfNlYIDjqSawG8QDzp 0vCxvKUV/N1gtjL905bZyOBMcqzTysyA9eRQIdcblr7hiLn1f0+ey7tUnKSqwIK0dsIS QBaYZSPDhDrYqdgCHcHWHXctCO5wH1KioQ8OeE2T7xde0a1zreyfPiWu4q1SIFRVPuK5 aXi9e42c6PiHzw6poPmQTBgbmSY2eZooZwI57dm74ZY9MkZBdtGScDfCaLfZfBsw1f2W kINQ== 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:content-transfer-encoding; bh=BeYrItptjbmjm//xr6aNyLoo5RY49LjduotLIGizl2Q=; b=ODJbH64Yu9MmixYctWlZugHj/B2kT+mUnWV3b8dHDvjDlvfh0fll25r1S42OwHW3Cf 4PsCeHRTgRPucrHZW1CcQ+81KefB8wFvdgQR7gOc7VsWVxaTEAyXf2sO8tgJ0NJW9gPs WI58MBcPMS4kP3SHBMGSAT88kKqY305PberZ7OXPsNg9u39oWqnzTvvqhzlCUhTdTnW0 +PYf944GZDYEhS92Uu5dF2x4zxc6GHMMQhKhkcAZRxufKPS0i9MX6XXcTteV78PfukUC EPr7H+THdHm6i4+jonwGLQHnoiQ2twDUd0LLpcBrg/U+qZEg1zOpsZnjfJYC9re0MMsN HS8g== X-Gm-Message-State: ANhLgQ1QH6PpGQrCjjHz6BkmUm7rTQSr/a6sW8x2OhgFdRfWLbpKCgmn J90wUrWGBwq2gv2LPu0Adn061Cqzu3HoA4F9VkfyRQ== X-Received: by 2002:ab0:1161:: with SMTP id g33mr388779uac.32.1583290462899; Tue, 03 Mar 2020 18:54:22 -0800 (PST) MIME-Version: 1.0 References: <2094703.CetWLLyMuz@kreacher> In-Reply-To: From: Jian-Hong Pan Date: Wed, 4 Mar 2020 10:53:33 +0800 Message-ID: Subject: Re: [PATCH 0/6] ACPI: EC: Updates related to initialization To: "Rafael J. Wysocki" Cc: "Rafael J. Wysocki" , Daniel Drake , Linux ACPI , LKML , Linux Upstreaming Team Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Rafael J. Wysocki =E6=96=BC 2020=E5=B9=B43=E6=9C=884=E6= =97=A5 =E9=80=B1=E4=B8=89 =E4=B8=8A=E5=8D=886:23=E5=AF=AB=E9=81=93=EF=BC=9A > > On Tue, Mar 3, 2020 at 10:09 AM Rafael J. Wysocki wro= te: > > > > On Tue, Mar 3, 2020 at 8:29 AM Jian-Hong Pan w= rote: > > > > > > Rafael J. Wysocki =E6=96=BC 2020=E5=B9=B43=E6=9C= =882=E6=97=A5 =E9=80=B1=E4=B8=80 =E4=B8=8B=E5=8D=887:45=E5=AF=AB=E9=81=93= =EF=BC=9A > > > > > > [cut] > > > > > > > Originally, ec_install_handlers() will return the returned value from > > > install_gpio_irq_event_handler() from acpi_dev_gpio_irq_get(), which > > > is -EPROBE_DEFER, instead of -ENXIO. However, ec_install_handlers() > > > returns -ENXIO directly if install_gpio_irq_event_handler() returns > > > false in patch ("ACPI: EC: Consolidate event handler installation > > > code"). Here needs some modification. > > > > Thanks, I forgot about the -EPROBE_DEFER case. > > The top-most commit in the git branch at > > git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ > acpi-ec-work > > has been updated to take that case into account (I think that it > should be spelled out explicitly or it will be very easy to overlook > in the future). > > Please test this one if possible. Tested the commits on some laptops including ASUS UX434DA. The brightness hotkeys are working now. Jian-Hong Pan