From patchwork Fri Feb 27 05:42:33 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 45210 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f69.google.com (mail-wg0-f69.google.com [74.125.82.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 6ED3F20674 for ; Fri, 27 Feb 2015 05:45:39 +0000 (UTC) Received: by wghb13 with SMTP id b13sf12081112wgh.2 for ; Thu, 26 Feb 2015 21:45:38 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:subject:date:message-id :mime-version:cc:precedence:list-id:list-unsubscribe:list-archive :list-post:list-help:list-subscribe:content-type :content-transfer-encoding:sender:errors-to:x-original-sender :x-original-authentication-results:mailing-list; bh=I2fyWeCbfPI5fNxB+bSCYbFLkz/XK4VFwzx0Oqs2v3w=; b=TBGH/2v+AHqkf/Oh9lPuzXkqrKgugvrq75dxQ/oI0FNZT3YdJOLumtqqHVY5UcZepm PXtKC3cQzXMp8tQV/CFddqyiAlCj2+xiNuVkjTiZNeYd0e2qHyIpBP4xwKaA8InLrITW Dere1L7nx7ab4IGup4VPnowx45gs1Qh4nQp34LuYj7LAq4wdSTSrugSebHvKDdoQbqZ0 sidB3IY1MMgSqOVbgVIioEmfzkfEVGeCDcyUOUNXHx9oa+6FVHIS0SKPW6yAB5NtH0aL EymMQhpYlV4BHJIpDm0nxhk9gqOw5JAC6q8IpkKwROencqfojvPDNMufg86J5lfybCKr /3rg== X-Gm-Message-State: ALoCoQn/iJDg0RNY+lnNwa1aucAVm8Mk31zF31/HC+E95nXsCqQL4U6GGENKcD36NKH0OhkOzDUI X-Received: by 10.112.77.101 with SMTP id r5mr1802260lbw.4.1425015938676; Thu, 26 Feb 2015 21:45:38 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.204.12 with SMTP id ku12ls98520lac.105.gmail; Thu, 26 Feb 2015 21:45:38 -0800 (PST) X-Received: by 10.152.42.209 with SMTP id q17mr10788947lal.23.1425015938377; Thu, 26 Feb 2015 21:45:38 -0800 (PST) Received: from mail-la0-f50.google.com (mail-la0-f50.google.com. [209.85.215.50]) by mx.google.com with ESMTPS id r4si2092344lah.146.2015.02.26.21.45.38 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Feb 2015 21:45:38 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.50 as permitted sender) client-ip=209.85.215.50; Received: by labgd6 with SMTP id gd6so15427538lab.8 for ; Thu, 26 Feb 2015 21:45:38 -0800 (PST) X-Received: by 10.112.185.66 with SMTP id fa2mr10615812lbc.117.1425015938147; Thu, 26 Feb 2015 21:45:38 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.35.133 with SMTP id h5csp3727102lbj; Thu, 26 Feb 2015 21:45:37 -0800 (PST) X-Received: by 10.69.27.42 with SMTP id jd10mr21080141pbd.97.1425015936530; Thu, 26 Feb 2015 21:45:36 -0800 (PST) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id ej13si4153438pdb.37.2015.02.26.21.45.35 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Feb 2015 21:45:36 -0800 (PST) Received-SPF: none (google.com: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org does not designate permitted sender hosts) client-ip=2001:1868:205::9; 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-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 (/) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-0.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.220.51 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.220.51 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record 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+patch=linaro.org@lists.infradead.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: viresh.kumar@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.50 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 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 --- 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,