From patchwork Tue May 2 12:43:08 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juergen Schindele X-Patchwork-Id: 757581 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3wHLZz07x0z9s65 for ; Tue, 2 May 2017 22:44:27 +1000 (AEST) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 3wHLZy6RTszDqMc for ; Tue, 2 May 2017 22:44:26 +1000 (AEST) X-Original-To: linuxppc-dev@lists.ozlabs.org Delivered-To: linuxppc-dev@lists.ozlabs.org Received: from dmz-mail.nentec.de (gate.nentec.de [213.218.23.37]) by lists.ozlabs.org (Postfix) with SMTP id 3wHLYs2WcQzDq9m for ; Tue, 2 May 2017 22:43:27 +1000 (AEST) Received: from (unknown [153.92.64.119]) by dmz-mail.nentec.de with smtp id 0649_7cea_e34aaaee_2f34_11e7_b58f_000c29a8555f; Tue, 02 May 2017 14:43:05 +0200 Received: from localhost (localhost [127.0.0.1]) by zimbra.nentec.de (Postfix) with ESMTP id DA62A17E04FB; Tue, 2 May 2017 14:33:38 +0200 (CEST) X-Virus-Scanned: amavisd-new at nentec.de Received: from zimbra.nentec.de ([127.0.0.1]) by localhost (zimbra.nentec.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id So6QTiz7SP97; Tue, 2 May 2017 14:33:38 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zimbra.nentec.de (Postfix) with ESMTP id B90D217E075C; Tue, 2 May 2017 14:33:38 +0200 (CEST) X-Virus-Scanned: amavisd-new at nentec.de Received: from zimbra.nentec.de ([127.0.0.1]) by localhost (zimbra.nentec.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id bJnFhCTncN_e; Tue, 2 May 2017 14:33:38 +0200 (CEST) Received: from sherry.localnet (sherry.nentec.de [153.92.64.8]) by zimbra.nentec.de (Postfix) with ESMTPS id 8DF5F17E04FB; Tue, 2 May 2017 14:33:38 +0200 (CEST) From: Juergen Schindele To: Scott Wood Subject: Re: Freescale mpc8315 IRQ0 setup Date: Tue, 02 May 2017 14:43:08 +0200 Message-ID: <1715435.xdU3769208@sherry> Organization: PSI NenTec User-Agent: KMail/4.14.10 (Linux/3.16.7-42-desktop; KDE/4.14.9; x86_64; ; ) In-Reply-To: <20170430065543.iamwy5yvk7tcpmc7@home.buserror.net> References: <2666241.ms6yMRjznt@sherry> <20170430065543.iamwy5yvk7tcpmc7@home.buserror.net> MIME-Version: 1.0 X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: -5000 X-NAI-Spam-Version: 2.3.0.9418 : core <6014> : inlines <5837> : streams <1743733> : uri <2419972> X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: schindele@nentec.de Cc: linuxppc-dev@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" Dear Scott, sorry for the delay but i am not very familiar with the formating. I passed the patch trough checkpatch.pl and there was no more error. pease find patch in attached file. Thanks [PATCH] configure "EDGE" capabilities for IRQ0 (like IRQ1-7) Signed-off-by: Jurgen Schindele --- linux-a/arch/powerpc/sysdev/ipic.c 2017-04-04 15:28:11.201308780 +0200 +++ linux-b/arch/powerpc/sysdev/ipic.c 2016-12-11 20:17:54.000000000 +0100 @@ -315,7 +315,6 @@ static struct ipic_info ipic_info[] = { .prio_mask = 7, }, [48] = { - .ack = IPIC_SEPNR, .mask = IPIC_SEMSR, .prio = IPIC_SMPRR_A, .force = IPIC_SEFCR, @@ -618,7 +617,7 @@ static int ipic_set_irq_type(struct irq_ /* ipic supports only edge mode on external interrupts */ if ((flow_type & IRQ_TYPE_EDGE_FALLING) && !ipic_info[src].ack) { printk(KERN_ERR "ipic: edge sense not supported on internal " - "interrupts %d\n", src); + "interrupts\n"); return -EINVAL; }