From patchwork Tue Feb 26 22:17:26 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 15104 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 11CD823E24 for ; Tue, 26 Feb 2013 22:17:39 +0000 (UTC) Received: from mail-ve0-f175.google.com (mail-ve0-f175.google.com [209.85.128.175]) by fiordland.canonical.com (Postfix) with ESMTP id B7263A185C1 for ; Tue, 26 Feb 2013 22:17:38 +0000 (UTC) Received: by mail-ve0-f175.google.com with SMTP id cy12so4356100veb.6 for ; Tue, 26 Feb 2013 14:17:38 -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 :in-reply-to:references:x-gm-message-state; bh=FEoz73+yUiRc1SwKc8cTSYUI8QK9Ud0qWWDEy9n4LLc=; b=fySAuuiTqpUry6/dC6HSjJuy+nGdQXgjm78g5VnzMczNK85nnXrMkkUio+4F5fW1ZM KHJc8ZiLK7ArAZW6gfRGFD4skSQmr+UZRH39KRQIOPdDUIlNx/9PZoSDQNPLhkY/e15Y i5QsXPhF91NPqY6PeDtNJYmg+KkLskNU9uQRdH5d4Z7Wwo17lnuNkzzJGILpCMMz8/Jf w0ASvMZ+Hwd2L9X1mxZA7GGWkiBoZlm0LuDu0mfTESsX7oyzE2o92Jt9pRu2y8AOBbsn Xm9f40s0R+94Rs0fCxmEGQilV38mSR4+yGq7SYPOg/wkFTClmIb5tjhg7laoe6tX4KO+ TLzw== X-Received: by 10.52.177.163 with SMTP id cr3mr10962250vdc.94.1361917058233; Tue, 26 Feb 2013 14:17:38 -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 st5csp137607veb; Tue, 26 Feb 2013 14:17:37 -0800 (PST) X-Received: by 10.194.77.129 with SMTP id s1mr29666312wjw.17.1361917056189; Tue, 26 Feb 2013 14:17:36 -0800 (PST) Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by mx.google.com with ESMTPS id n17si1143774wjw.33.2013.02.26.14.17.34 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 26 Feb 2013 14:17:36 -0800 (PST) Received-SPF: neutral (google.com: 209.85.212.178 is neither permitted nor denied by best guess record for domain of daniel.lezcano@linaro.org) client-ip=209.85.212.178; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.178 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-f178.google.com with SMTP id hq4so2641003wib.17 for ; Tue, 26 Feb 2013 14:17:34 -0800 (PST) X-Received: by 10.194.76.37 with SMTP id h5mr29848615wjw.21.1361917054290; Tue, 26 Feb 2013 14:17:34 -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 ed6sm4920201wib.9.2013.02.26.14.17.32 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 26 Feb 2013 14:17:33 -0800 (PST) From: Daniel Lezcano To: john.stultz@linaro.org, tglx@linutronix.de Cc: viresh.kumar@linaro.org, jacob.jun.pan@linux.intel.com, linux-arm-kernel@lists.infradead.org, santosh.shilimkar@ti.com, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linaro-kernel@lists.linaro.org, patches@linaro.org, linus.walleij@stericsson.com Subject: [PATCH 3/4] ARM: nomadik: add dynamic irq flag to the timer Date: Tue, 26 Feb 2013 23:17:26 +0100 Message-Id: <1361917047-29230-4-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1361917047-29230-1-git-send-email-daniel.lezcano@linaro.org> References: <1361917047-29230-1-git-send-email-daniel.lezcano@linaro.org> X-Gm-Message-State: ALoCoQkeJDWx8WaLQle6MumFosm0pkhWDhW6YqvhbiddTLgBpFfsO61qoewwSLSVxpCdAcuMOgA6 Add the dynamic irq affinity feature to the timer clock device. Signed-off-by: Daniel Lezcano --- drivers/clocksource/nomadik-mtu.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/clocksource/nomadik-mtu.c b/drivers/clocksource/nomadik-mtu.c index 7cbcaa0..73dc540 100644 --- a/drivers/clocksource/nomadik-mtu.c +++ b/drivers/clocksource/nomadik-mtu.c @@ -136,7 +136,8 @@ static void nmdk_clkevt_mode(enum clock_event_mode mode, static struct clock_event_device nmdk_clkevt = { .name = "mtu_1", - .features = CLOCK_EVT_FEAT_ONESHOT | CLOCK_EVT_FEAT_PERIODIC, + .features = CLOCK_EVT_FEAT_ONESHOT | CLOCK_EVT_FEAT_PERIODIC | + CLOCK_EVT_FEAT_DYNIRQ, .rating = 200, .set_mode = nmdk_clkevt_mode, .set_next_event = nmdk_clkevt_next,