From patchwork Fri Feb 27 05:42:33 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 5897881 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 6FE02BF440 for ; Fri, 27 Feb 2015 05:46:12 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A173A2020E for ; Fri, 27 Feb 2015 05:46:11 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B9B2C201FA for ; Fri, 27 Feb 2015 05:46:10 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YRDiE-0005Yx-MM; Fri, 27 Feb 2015 05:43:46 +0000 Received: from mail-pa0-f51.google.com ([209.85.220.51]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YRDi9-0005Mx-Ce for linux-arm-kernel@lists.infradead.org; Fri, 27 Feb 2015 05:43:42 +0000 Received: by padfa1 with SMTP id fa1so20023508pad.2 for ; Thu, 26 Feb 2015 21:43:19 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-type:content-transfer-encoding; bh=61k1LRUPEWRGSbcuzl/01BaaVGLaR6dO3yibX0iJMEo=; b=ZC/uo5G1JfpswvZBfYkcv5S+a74ijByORwtClrC7et8vbbG3MsWWYgbMpKmk2+eDPD Rq3HyK7u3/2PTOlYfa3MIL4XheY0PZuOW5tdaRd2lOT5UCN0rSpsxZgNE9mdC0ALH3bM yRVNS9NMKmiTDZVGJ+UxJWRP4Dzv5/ANUIj8Hib2b+qc1V10BNdZwbd6ZxEJ4dKHI5CP VZIiWF+ByISjneUvGdSPxYG7/ojAM6B/jzFi2RR6vweAJCm8sNvxSmxWVAk0XzM0vXtk CQrSmPraxssBKQWWxduBY8Ea47cWcpGtIS1BX4oslFphxtBGR1Yo3koHPlI+le7uB1UG iJQg== X-Gm-Message-State: ALoCoQm1J//CnNlcQQswp2Ehha9Mgw/RBzVNMFbntdEOHziWhQrVpoclDvHNSquiNb3JxskQTQic X-Received: by 10.70.135.68 with SMTP id pq4mr21109384pdb.80.1425015799890; Thu, 26 Feb 2015 21:43:19 -0800 (PST) Received: from localhost ([122.172.196.7]) by mx.google.com with ESMTPSA id x4sm2680245pas.40.2015.02.26.21.43.18 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 26 Feb 2015 21:43:19 -0800 (PST) From: Viresh Kumar To: Daniel Lezcano , u.kleine-koenig@pengutronix.de Subject: [PATCH] clocksource: efm32: Use CLOCK_EVT_FEAT_PERIODIC for defining features Date: Fri, 27 Feb 2015 11:12:33 +0530 Message-Id: <3fac202ead48b50c0967c62eae92fe9786fd24a1.1425015704.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 2.3.0.rc0.44.ga94655d MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150226_214341_460120_FD089F42 X-CRM114-Status: UNSURE ( 8.41 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) Cc: Viresh Kumar , Thomas Gleixner , linaro-kernel@lists.linaro.org, kernel@pengutronix.de, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP We have used CLOCK_EVT_MODE_PERIODIC instead of CLOCK_EVT_FEAT_PERIODIC while defining features. Fix it. Cc: Uwe Kleine-Koenig Signed-off-by: Viresh Kumar Acked-by: Uwe Kleine-König --- drivers/clocksource/time-efm32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clocksource/time-efm32.c b/drivers/clocksource/time-efm32.c index bba62f9deefb..9edeab37a14b 100644 --- a/drivers/clocksource/time-efm32.c +++ b/drivers/clocksource/time-efm32.c @@ -111,7 +111,7 @@ static irqreturn_t efm32_clock_event_handler(int irq, void *dev_id) static struct efm32_clock_event_ddata clock_event_ddata = { .evtdev = { .name = "efm32 clockevent", - .features = CLOCK_EVT_FEAT_ONESHOT | CLOCK_EVT_MODE_PERIODIC, + .features = CLOCK_EVT_FEAT_ONESHOT | CLOCK_EVT_FEAT_PERIODIC, .set_mode = efm32_clock_event_set_mode, .set_next_event = efm32_clock_event_set_next_event, .rating = 200,