Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932463AbaLAULn (ORCPT ); Mon, 1 Dec 2014 15:11:43 -0500 Received: from muin.pair.com ([209.68.1.55]:59684 "EHLO muin.pair.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932436AbaLAULi (ORCPT ); Mon, 1 Dec 2014 15:11:38 -0500 Message-ID: <547CCB78.5090007@tabi.org> Date: Mon, 01 Dec 2014 14:11:36 -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: Arnd Bergmann CC: linuxppc-dev@lists.ozlabs.org, Mark Brown , Lars-Peter Clausen , alsa-devel@alsa-project.org, Jiada Wang , linux-kernel@vger.kernel.org, lgirdwood@gmail.com, nicoleotsuka@gmail.com, tiwai@suse.de, Li.Xiubo@freescale.com, Markus Pargmann 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> In-Reply-To: <3401240.VsRpsiV8WN@wuerfel> Content-Type: text/plain; charset=windows-1252; 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:01 PM, Arnd Bergmann wrote: >> >Does this mean that fsl_ssi.c should not be calling >> >irq_of_parse_and_map? How else should it get the IRQ? > platform_get_irq() Ok, but that function also calls irq_create_of_mapping(). So it still appears that the only way to get the IRQ is to map it, but then we can't use devm_request_irq(). -- 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/