Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932497AbaLAUmv (ORCPT ); Mon, 1 Dec 2014 15:42:51 -0500 Received: from muin.pair.com ([209.68.1.55]:62558 "EHLO muin.pair.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932158AbaLAUmu (ORCPT ); Mon, 1 Dec 2014 15:42:50 -0500 Message-ID: <547CD2C6.2060107@tabi.org> Date: Mon, 01 Dec 2014 14:42:46 -0600 From: Timur Tabi User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Fabio Estevam , Lars-Peter Clausen CC: Arnd Bergmann , "alsa-devel@alsa-project.org" , Jiada Wang , Xiubo Li , linux-kernel , Liam Girdwood , Nicolin Chen , Takashi Iwai , Mark Brown , Markus Pargmann , "linuxppc-dev@lists.ozlabs.org" Subject: Re: [alsa-devel] [PATCH] ASoC: fsl_ssi: free irq before irq_dispose_mapping() References: <1417402251-6596-1-git-send-email-jiada_wang@mentor.com> <2547588.Qc4F2IfZke@wuerfel> <547CC89F.1030205@tabi.org> <3401240.VsRpsiV8WN@wuerfel> <547CCB78.5090007@tabi.org> <547CCFF7.2000205@metafoo.de> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/01/2014 02:40 PM, Fabio Estevam wrote: >> >Hm... that's new. But it's not really a driver issue anymore if it is done >> >in the core. So I guess for now just use platform_get_irq() and ignore the >> >other issue. > With the suggested changes below, the removal of the driver works fine on a mx6: Would the mapping continue to exist after the driver is unloaded? Can you try multiple loads/unloads and see if interrupts still work? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/