From patchwork Fri Feb 22 15:44:30 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 15028 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id F3AF523E1F for ; Fri, 22 Feb 2013 15:44:35 +0000 (UTC) Received: from mail-ve0-f174.google.com (mail-ve0-f174.google.com [209.85.128.174]) by fiordland.canonical.com (Postfix) with ESMTP id 7B2C1A19456 for ; Fri, 22 Feb 2013 15:44:35 +0000 (UTC) Received: by mail-ve0-f174.google.com with SMTP id pb11so652458veb.33 for ; Fri, 22 Feb 2013 07:44:35 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state; bh=IAbOeAEnfmaGb9ILEdwvAyBtlaudU2IyJDE4qUy6BXs=; b=kT0SJMkCEjzk3bT+JDnyaBlbi8AZ3kSNM6njEHrYzYQAuh8OHT8klxPU4m/TlGhBnN KqrpzfbbJXKwKfMrCfTjdqPace+QWCDU3pkLQ+Bf4Oa8mjfmOEnSpiYmOBJ/FLng94/a ub8US3qcPIEc+L6QSXVYMyB4rU4enJ+KbuJnH92athKhDp6EI7IWQ5nfumxT6ZkArgVb l4TcMS87rNx8jws5clLa65oSDjiucusRYL2vSBR7Kmvv3Ih1exrIXkrR7bUUEzJXSlFb 9wDFMZvCz45Z+yV26Alvgnv68RPeoF15bee3MyTE/dUU48Ck403eGOYuTMiv6JS6U8q+ us7w== X-Received: by 10.220.39.69 with SMTP id f5mr3132304vce.45.1361547875021; Fri, 22 Feb 2013 07:44:35 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.58.145.101 with SMTP id st5csp94629veb; Fri, 22 Feb 2013 07:44:34 -0800 (PST) X-Received: by 10.180.103.65 with SMTP id fu1mr4322927wib.4.1361547873410; Fri, 22 Feb 2013 07:44:33 -0800 (PST) Received: from mail-wi0-x229.google.com ([2a00:1450:400c:c05::229]) by mx.google.com with ESMTPS id j8si995824wjb.217.2013.02.22.07.44.32 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 22 Feb 2013 07:44:33 -0800 (PST) Received-SPF: neutral (google.com: 2a00:1450:400c:c05::229 is neither permitted nor denied by best guess record for domain of daniel.lezcano@linaro.org) client-ip=2a00:1450:400c:c05::229; Authentication-Results: mx.google.com; spf=neutral (google.com: 2a00:1450:400c:c05::229 is neither permitted nor denied by best guess record for domain of daniel.lezcano@linaro.org) smtp.mail=daniel.lezcano@linaro.org Received: by mail-wi0-f169.google.com with SMTP id l13so2284411wie.0 for ; Fri, 22 Feb 2013 07:44:32 -0800 (PST) X-Received: by 10.194.235.196 with SMTP id uo4mr4385722wjc.30.1361547872836; Fri, 22 Feb 2013 07:44:32 -0800 (PST) Received: from mai.home (AToulouse-654-1-437-74.w83-205.abo.wanadoo.fr. [83.205.68.74]) by mx.google.com with ESMTPS id n2sm4656870wiy.6.2013.02.22.07.44.30 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 22 Feb 2013 07:44:31 -0800 (PST) From: Daniel Lezcano To: john.stultz@linaro.org, tglx@linutronix.de Cc: linux-kernel@vger.kernel.org, linaro-kernel@lists.linaro.org, patches@linaro.org, linus.walleij@stericsson.com Subject: [PATCH] clocksource : nomadik-mtu : fix missing irq initialization Date: Fri, 22 Feb 2013 16:44:30 +0100 Message-Id: <1361547870-32638-1-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-Gm-Message-State: ALoCoQlLrBB05115Ct270xompDSYc4OLiJvZ7gN7HPxUjRyww4VoJcg8URWwOMbY4zOidwYaEYep This patch fix the clock device irq field which is not initialized. Signed-off-by: Daniel Lezcano --- drivers/clocksource/nomadik-mtu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clocksource/nomadik-mtu.c b/drivers/clocksource/nomadik-mtu.c index 8914c3c..7cbcaa0 100644 --- a/drivers/clocksource/nomadik-mtu.c +++ b/drivers/clocksource/nomadik-mtu.c @@ -226,5 +226,6 @@ void __init nmdk_timer_init(void __iomem *base, int irq) /* Timer 1 is used for events, register irq and clockevents */ setup_irq(irq, &nmdk_timer_irq); nmdk_clkevt.cpumask = cpumask_of(0); + nmdk_clkevt.irq = irq; clockevents_config_and_register(&nmdk_clkevt, rate, 2, 0xffffffffU); }