From patchwork Wed Jan 6 22:22:12 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roel Kluin X-Patchwork-Id: 71449 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.2) with ESMTP id o06MISq1017008 for ; Wed, 6 Jan 2010 22:18:28 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932307Ab0AFWS1 (ORCPT ); Wed, 6 Jan 2010 17:18:27 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932273Ab0AFWS1 (ORCPT ); Wed, 6 Jan 2010 17:18:27 -0500 Received: from mail-ew0-f219.google.com ([209.85.219.219]:52118 "EHLO mail-ew0-f219.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932266Ab0AFWS0 (ORCPT ); Wed, 6 Jan 2010 17:18:26 -0500 Received: by ewy19 with SMTP id 19so10139793ewy.21 for ; Wed, 06 Jan 2010 14:18:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=v2GV02AKb9IxtaYYwECwBoqqgG3foPF2NET+4vvMC9o=; b=JqB4Z7AI/wEqx85hRPHwdWayNNGiLsuyFaHH/vTz4bsYz3pltRVE15q1XvKc8J+U9f muZvTLHGK9dJGFr/ZfmKZ4d03eAATBCjDC1dkGQdoN0+KcGRllDhjWVIK8IYk9NXkZpY EunVaU/vuDNBYnMhYh2+brxp3HCdDpVZU+oa0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=TtfjyJWl3L5LecSxBvNvE3KRUIxCRTK7AcVlOLElrOOOGsQuDabMeNsjpktu6XssTf sQPRw/VYF7vqwQyM/Wo0dGmAG8LploUAsFrHweMH87HZj4uSOhnoT88Amp0w1OQjKjc5 jDells9DW16HUjnFS0QPrfvzaojKSQIlXlH+I= Received: by 10.213.42.83 with SMTP id r19mr8712549ebe.1.1262816304734; Wed, 06 Jan 2010 14:18:24 -0800 (PST) Received: from zoinx.mars (d133062.upc-d.chello.nl [213.46.133.62]) by mx.google.com with ESMTPS id 7sm2744864eyg.41.2010.01.06.14.18.23 (version=SSLv3 cipher=RC4-MD5); Wed, 06 Jan 2010 14:18:24 -0800 (PST) Message-ID: <4B450D14.5060308@gmail.com> Date: Wed, 06 Jan 2010 23:22:12 +0100 From: Roel Kluin User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091209 Fedora/3.0-4.fc12 Thunderbird/3.0 MIME-Version: 1.0 To: "linux-omap@vger.kernel.org" , Tony Lindgren Subject: [PATCH] OMAP3: add missing parentheses Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c index 81ed252..c6cc809 100644 --- a/arch/arm/mach-omap2/pm34xx.c +++ b/arch/arm/mach-omap2/pm34xx.c @@ -124,8 +124,8 @@ static void omap3_core_save_context(void) control_padconf_off |= START_PADCONF_SAVE; omap_ctrl_writel(control_padconf_off, OMAP343X_CONTROL_PADCONF_OFF); /* wait for the save to complete */ - while (!omap_ctrl_readl(OMAP343X_CONTROL_GENERAL_PURPOSE_STATUS) - & PADCONF_SAVE_DONE) + while (!(omap_ctrl_readl(OMAP343X_CONTROL_GENERAL_PURPOSE_STATUS) + & PADCONF_SAVE_DONE)) ; /* Save the Interrupt controller context */ omap_intc_save_context();