From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756836AbcBDOJf (ORCPT ); Thu, 4 Feb 2016 09:09:35 -0500 Received: from smtprelay.synopsys.com ([198.182.47.9]:39257 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750727AbcBDOJd (ORCPT ); Thu, 4 Feb 2016 09:09:33 -0500 Subject: Re: [PATCH v7 2/2] add new platform driver for PCI RC To: Bjorn Helgaas , Joao Pinto References: <10b29adcdb0a31eb8f8071b271da267e44ad8a04.1454349430.git.jpinto@synopsys.com> <8223655.W63T0XOVm1@wuerfel> <20160203180514.GA10879@localhost> <56B242F0.6040704@synopsys.com> <20160203183844.GC10879@localhost> <56B33278.3000408@synopsys.com> CC: Arnd Bergmann , , , , , , , , , , , From: Joao Pinto Message-ID: <56B35B96.3090005@synopsys.com> Date: Thu, 4 Feb 2016 14:09:26 +0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <56B33278.3000408@synopsys.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.13.184.19] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Bjorn and Arnd, Removing the irq_handler causes the irq request to fail because in request_threaded_irq() both handler and thread_fn are NULL. What's the typical procedure for this? Joao On 2/4/2016 11:14 AM, Joao Pinto wrote: > Hi Bjorn, > > On 2/3/2016 6:38 PM, Bjorn Helgaas wrote: >> On Wed, Feb 03, 2016 at 06:12:00PM +0000, Joao Pinto wrote: >>> Hi Bjorn, >>> >>> Are these tasks enough? >>> >>> - replace mdelay() for msleep() >>> - remove synopsys_pcie_irq_handler() >> >> Above are fine with me. > > Ok, I'll to that. > > Thanks. >