Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp3859834ybf; Tue, 3 Mar 2020 14:24:42 -0800 (PST) X-Google-Smtp-Source: ADFU+vuyxZOKV0lbtg5igUANVEWosdq9ATg1FOY8tzcJs+asQznFnEfFL8Nuz0/zDe4Fcl/4QObg X-Received: by 2002:aca:f305:: with SMTP id r5mr548725oih.174.1583274282609; Tue, 03 Mar 2020 14:24:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583274282; cv=none; d=google.com; s=arc-20160816; b=ym+LHv0xdgVu9UM1Awl0tou62L/8qt1WVO8jE5d1y2ep+tzvEXVzknCP5r2rLd72Qs zBxvRxg9YUeHtAr+sCuoA+2aWr1uEfewkJI3F0jkU+n7D0Jv3RmIANWxfQ/4NHYW3Nmh ZGpwEEAA9/KzE21QUaZ7U+X8/yu53bVe4LulBaW+Gum8jOlCER9UVD7JsDSL82F5dnuh t/67sHN+kFjLIeI4Okftmcwzx386HsstPKFNihc/EE4TB4NRWrbnmfWk8ikAPiIuP+Yh p9UyHUDSUH/Pbo3Z2UNInTjO2y6RRye0+vqxhFGDLJlC9LVFSEaOjXBNvdzK3xJlbznf 6Q3w== 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; bh=CdTYB92AoF+wQcdhJoFq7ezbLxDYG0INWeQEH0UCa28=; b=L8k784mykqN057hUO6LrmBzZpwy4ikhPWRRFlETvKLzgR6L1SgjQvqsqO3j2oJln5j XrwvmLPn//4HP2hKvgPkPf4jS/c/rdp8x9Wt/rWdwa4leCgDwI6lrPOMHRvmxIMwayhP gP7sVJvIkXARHW4jv6xh9PHclUE9YNs/Wug/EOQvAiE0Rj/tA61bZgoAB5leZfBQTcj8 nnthUhFNi72cRcu5JdC2HdJd4u7OxFbN1Fm6RuSq44CA6WbPXVspSkAtFHaqxvCSg2m+ aLpf9mspuDSwTqsy+uoy/V5Z40pQXJAZvYPna0ZUnkWq3zJv13+ZaP69gA9qcVzUGPgs v1Bw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u12si82706oiv.13.2020.03.03.14.24.31; Tue, 03 Mar 2020 14:24:42 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727604AbgCCWXY convert rfc822-to-8bit (ORCPT + 99 others); Tue, 3 Mar 2020 17:23:24 -0500 Received: from mail-oi1-f194.google.com ([209.85.167.194]:46746 "EHLO mail-oi1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726766AbgCCWXY (ORCPT ); Tue, 3 Mar 2020 17:23:24 -0500 Received: by mail-oi1-f194.google.com with SMTP id a22so4712602oid.13; Tue, 03 Mar 2020 14:23:23 -0800 (PST) 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=t5x1nQ/2cd3iRTnJ5bqPpexORRJrGQYgbji7W2ye2JU=; b=Q/JTqJByVKc5TM/1S9/y3bh5yYhRYwxtE6Mf/AOWfSo78jkQtyokH5XgC+4a+vWbXf ZilRRrug8sxh2+cKrR7ZphG/vCpbUWVKI7jVCx3jNsmfG8WB14JPuxBe6ZOqPLm3dh5a eazHzmc7ax/nl8tLxdZtRzlNH/6bE5V20OCw+SuiICzzEv9MwTOILOHiZbfjLq5YCG2O xszC7rHVoIcj0RZUY50WT9a9aDQnJQ+WgrsOgMOdhHFtMUiN7cZio9QsyFQMDYQcrGuN bZq7g1Ij03HwcNv2Xc5STp22/BLVXTHD7bR7bSvBB7Ni4btUL+R+9pffPjl5rNrIBSo9 oZkg== X-Gm-Message-State: ANhLgQ1hZJMlJM8Ryj0T8n9eJ4qrRzh1kRM6n+Ym/sov+Mz97FgGN8nK nN4PdfxkW9QmeViiRpKql810d0JrAB7deVnGWeo= X-Received: by 2002:a54:4e96:: with SMTP id c22mr564709oiy.110.1583274203313; Tue, 03 Mar 2020 14:23:23 -0800 (PST) MIME-Version: 1.0 References: <2094703.CetWLLyMuz@kreacher> In-Reply-To: From: "Rafael J. Wysocki" Date: Tue, 3 Mar 2020 23:23:12 +0100 Message-ID: Subject: Re: [PATCH 0/6] ACPI: EC: Updates related to initialization To: Jian-Hong Pan Cc: "Rafael J. Wysocki" , "Rafael J. Wysocki" , Daniel Drake , Linux ACPI , LKML , Linux Upstreaming Team Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 3, 2020 at 10:09 AM Rafael J. Wysocki wrote: > > On Tue, Mar 3, 2020 at 8:29 AM Jian-Hong Pan wrote: > > > > Rafael J. Wysocki 於 2020年3月2日 週一 下午7:45寫道: > > > [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.