From patchwork Thu Sep 6 07:19:36 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tetsuyuki Kobayashi X-Patchwork-Id: 1412351 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 66392DFFCF for ; Thu, 6 Sep 2012 07:20:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752554Ab2IFHT6 (ORCPT ); Thu, 6 Sep 2012 03:19:58 -0400 Received: from vrgw4.firstserver.ne.jp ([164.46.1.47]:32788 "EHLO vrgw4.firstserver.ne.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752501Ab2IFHT5 (ORCPT ); Thu, 6 Sep 2012 03:19:57 -0400 Received: from fvrsp25.firstserver.ne.jp (fvrsp25.firstserver.ne.jp [203.183.16.3]) by vrgw4.firstserver.ne.jp (8.13.8/8.13.8/FirstServer) with ESMTP id q867JqLZ030873; Thu, 6 Sep 2012 16:19:52 +0900 (envelope-from koba@kmckk.co.jp) Received: from 203.137.25.97 (203.137.25.97) by fvrsp25.firstserver.ne.jp (F-Secure/virusgw_smtp/407/fvrsp25.firstserver.ne.jp); Thu, 06 Sep 2012 16:19:52 +0900 (JST) X-Virus-Status: clean(F-Secure/virusgw_smtp/407/fvrsp25.firstserver.ne.jp) Received: from localhost (58-188-103-12f2.kns1.eonet.ne.jp [58.188.103.12]) (authenticated (0 bits)) by mail.kmckk.co.jp (8.14.3/8.11.3) with ESMTP id q867Jqn7005078; Thu, 6 Sep 2012 16:19:52 +0900 From: Tetsuyuki Kobayshi To: kuninori.morimoto.gx@renesas.com Cc: linux-sh@vger.kernel.org, horms@verge.net.au, Tetsuyuki Kobayashi Subject: [PATCH] ARM: shmobile: kzm9g: bugfix: correct mmcif interrupt settings Date: Thu, 6 Sep 2012 16:19:36 +0900 Message-Id: <1346915976-14079-1-git-send-email-koba@kmckk.co.jp> X-Mailer: git-send-email 1.7.9.5 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org From: Tetsuyuki Kobayashi Correct interrupt settings of sh_mmc:int and sh_mmc:error in board-kzm9g.c. Signed-off-by: Tetsuyuki Kobayashi Acked-by: Kuninori Morimoto --- Hello, morimoto-san I found small bug in interrpt setting of sh_mmc in board-kzm9g.c. According to SoC document, there are 2 interrupts for sh_mmc and smaller vector id is error. But the setting in board-kzm9g seems wrong. Actually these 2 interrupts use the same interrupt handler. So this patch only affects the output of /proc/interrpts. before this patch: ... 172: 3 0 GIC sh_mmc:int 173: 9504 0 GIC sh_mmc:error ... after this patch: ... 172: 3 0 GIC sh_mmc:error 173: 9454 0 GIC sh_mmc:int ... Morimoto-san, could you verify this? arch/arm/mach-shmobile/board-kzm9g.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-shmobile/board-kzm9g.c b/arch/arm/mach-shmobile/board-kzm9g.c index fd21fb6..87ec4ce 100644 --- a/arch/arm/mach-shmobile/board-kzm9g.c +++ b/arch/arm/mach-shmobile/board-kzm9g.c @@ -346,11 +346,11 @@ static struct resource sh_mmcif_resources[] = { .flags = IORESOURCE_MEM, }, [1] = { - .start = gic_spi(141), + .start = gic_spi(140), .flags = IORESOURCE_IRQ, }, [2] = { - .start = gic_spi(140), + .start = gic_spi(141), .flags = IORESOURCE_IRQ, }, };