From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sinan Kaya Subject: Re: [PATCH] ACPI / GED: unregister interrupts during shutdown Date: Wed, 6 Dec 2017 09:57:03 -0500 Message-ID: References: <1512507705-2411-1-git-send-email-okaya@codeaurora.org> <0b661eec-f9c7-7818-ad09-f3d488adcefe@codeaurora.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Language: en-US Sender: linux-arm-msm-owner@vger.kernel.org To: "Rafael J. Wysocki" Cc: ACPI Devel Maling List , Timur Tabi , "Rafael J. Wysocki" , linux-arm-msm@vger.kernel.org, "linux-arm-kernel@lists.infradead.org" , Linux Kernel Mailing List List-Id: linux-acpi@vger.kernel.org On 12/6/2017 8:37 AM, Rafael J. Wysocki wrote: > On Wed, Dec 6, 2017 at 2:24 PM, Sinan Kaya wrote: >> On 12/5/2017 5:18 PM, Rafael J. Wysocki wrote: >>> On Tue, Dec 5, 2017 at 10:01 PM, Sinan Kaya wrote: >>>> Some GED interrupts could be pending by the time we are doing a reboot. > > [cut] > >> >>> >>>> .probe = ged_probe, >>>> .driver = { >>>> .name = MODULE_NAME, >>>> -- >>> >>> Overall, it looks like we should just unbind the driver from all >>> devices on shutdown. >> >> I see that shutdown is getting called on all GED instances. That should >> take care of it, right? > > Yes, it should, so I'm not sure why you need the list in the first place. > > Also it looks like something along the lines of devres_release_all() > should be sufficient. Good suggestion, let me test this. > > Thanks, > Rafael > -- > To unsubscribe from this list: send the line "unsubscribe linux-acpi" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- Sinan Kaya Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.