Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp4307355ybf; Wed, 4 Mar 2020 01:14:30 -0800 (PST) X-Google-Smtp-Source: ADFU+vt9LSdWrmJJjQs4HnogkSW8d9jghTYwVwqFDJFH44p7CEVeBZlCVU4d4JZuncRRIJaHj+6G X-Received: by 2002:a05:6808:3ae:: with SMTP id n14mr1083507oie.63.1583313270453; Wed, 04 Mar 2020 01:14:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583313270; cv=none; d=google.com; s=arc-20160816; b=X+Ay00lRERiQVRFvcfn8U8NZUuRTF+bC78FG17bvPlyOpTngzQSfTs6o+T3apqrQGM ph1txpDkkiMMoaMjvRYA9Pne/pWNueSYM4RI/Hl65V8UpfB9QRydPOMkF8dIIQ1CsPiZ PA/gi6KGIb2i1e6nS8PduOmQgdIDys9BDbCapV02obpg3fONZ5NUGLteYDNgEsuyoGK+ Y5NW9Pku5ONlt+1On2ywrn6V4K4TzonB847xW9STqYBTyGIQKRinI5Wm2bpqOlGVIfYJ xfuqDsvEob+AxnXciC+1fuUEhT78B9dNj1RT/AMPGyBoJYF1JjzxZQk1MA7HcGcMeE+x xcBw== 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=rVV4UtkXhnq/c7uqffWz+Pg0gLtD9omjhM4KarZmq1Q=; b=xtbiF1/QkXYUEoyf83Yj1Gq5OO3JW25eXA9decpZhdlDTDUuys9WstoBr0lmOchC/i oUwtgrmIYElWDq8bQDDn9wg3T+keSiAnf/XuwgRWoVl2aSCdIEo2J4z1wzHQ+ejCC7QY 2XJ629w+Zsn8QnwVTd1l3jpv3O3J4Pxm6x/W85RvROv50YS+92J1VkUivhrtTEOGQqkQ +rQK5/0pCOrwVdOuZTXruF83lLy6jFlhHaVF7agGfNMbq5jhNVcvpPq3dGFTg9rgu50j fZ2gpU/a4MH5iOpaF5csU5YnNo2uQ8R2AX3vX8s56PAtXKzKDHgebte2g/RYIYNgO++B mspQ== 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 k6si778542otn.172.2020.03.04.01.14.16; Wed, 04 Mar 2020 01:14:30 -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 S1728702AbgCDJOH convert rfc822-to-8bit (ORCPT + 99 others); Wed, 4 Mar 2020 04:14:07 -0500 Received: from mail-ot1-f68.google.com ([209.85.210.68]:34363 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725271AbgCDJOH (ORCPT ); Wed, 4 Mar 2020 04:14:07 -0500 Received: by mail-ot1-f68.google.com with SMTP id j16so1339193otl.1; Wed, 04 Mar 2020 01:14:06 -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=2yqcmNpEhEyaoox7sgCu8vgkk/Ww/B7auVe1x64oSBk=; b=j2diKycW4GOtU6AnzvAzCml2SGfkMYP0g4a1XcRmhSAJxaocdO7v5mJ9DAWQKUs5IK okoUG3OExWv7IQ4/KhM5a6t+PADRtpMSwfE13UMZc2n9hQyV0KWZhNNm86CsP81mlAMX AZeP0+Y2iAgCIkJzKut8Ikt+izg55VWjyVLF6Tp3kykU+nYKI39vyCxLLSPKajAW8Ns1 LLqLs/oJNl2fedu5I5J81bo5h1Fs9SHOyV0+VLUjZvqGuUJnfNYy3/HVpFviOtpM1m8r O5o5oYjbgTa18iq8ny0OYCgP2IZIWVS4OrNOQAjTP1awtUOT6yy5aXv6RkAPee4gDhuQ /TNQ== X-Gm-Message-State: ANhLgQ2uAK/xYxY9X6hSTT2aUS4FxJ0Q0mm9/Jtsn49gXvuhaj2TrqnY z+6pN2f+zvPXfE4BT4qokVSI1oWbEyxR0fUG/qA= X-Received: by 2002:a05:6830:4b9:: with SMTP id l25mr1612658otd.266.1583313246413; Wed, 04 Mar 2020 01:14:06 -0800 (PST) MIME-Version: 1.0 References: <2094703.CetWLLyMuz@kreacher> In-Reply-To: From: "Rafael J. Wysocki" Date: Wed, 4 Mar 2020 10:13:54 +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 Wed, Mar 4, 2020 at 3:54 AM Jian-Hong Pan wrote: > > Rafael J. Wysocki 於 2020年3月4日 週三 上午6:23寫道: > > > > 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. > > Tested the commits on some laptops including ASUS UX434DA. The > brightness hotkeys are working now. Thank you!