From patchwork Thu Mar 5 06:27:35 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: ext-eero.nurkkala@nokia.com X-Patchwork-Id: 9983 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n256Uwfe000680 for ; Thu, 5 Mar 2009 06:30:58 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751258AbZCEGa5 (ORCPT ); Thu, 5 Mar 2009 01:30:57 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751774AbZCEGa4 (ORCPT ); Thu, 5 Mar 2009 01:30:56 -0500 Received: from smtp.nokia.com ([192.100.105.134]:58455 "EHLO mgw-mx09.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751258AbZCEGa4 (ORCPT ); Thu, 5 Mar 2009 01:30:56 -0500 Received: from esebh105.NOE.Nokia.com (esebh105.ntc.nokia.com [172.21.138.211]) by mgw-mx09.nokia.com (Switch-3.2.6/Switch-3.2.6) with ESMTP id n256UKgl027508 for ; Thu, 5 Mar 2009 00:30:51 -0600 Received: from esebh102.NOE.Nokia.com ([172.21.138.183]) by esebh105.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 5 Mar 2009 08:30:09 +0200 Received: from mgw-int01.ntc.nokia.com ([172.21.143.96]) by esebh102.NOE.Nokia.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Thu, 5 Mar 2009 08:30:09 +0200 Received: from localhost.localdomain (ouped118146.nmp.nokia.com [172.23.118.146]) by mgw-int01.ntc.nokia.com (Switch-3.2.5/Switch-3.2.5) with ESMTP id n256U8GT008020; Thu, 5 Mar 2009 08:30:08 +0200 From: ext-eero.nurkkala@nokia.com To: linux-omap@vger.kernel.org Cc: Eero Nurkkala Subject: [RFC] OMAP: I2C: Use correct bit for CLOCKACTIVITY Date: Thu, 5 Mar 2009 08:27:35 +0200 Message-Id: <12362344552581-git-send-email-ext-eero.nurkkala@nokia.com> X-Mailer: git-send-email 1.5.2 X-OriginalArrivalTime: 05 Mar 2009 06:30:09.0257 (UTC) FILETIME=[D4AEA590:01C99D5B] X-Nokia-AV: Clean Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org From: Eero Nurkkala It is the bit 8 that is for FCLK. All other blocks in OMAPs use the bit 8 for denying FCLK idling. This is an RFC, I'd like some discussion. Somebody double-check this? Signed-off-by: Eero Nurkkala --- drivers/i2c/busses/i2c-omap.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/i2c/busses/i2c-omap.c b/drivers/i2c/busses/i2c-omap.c index 0258b55..11057eb 100644 --- a/drivers/i2c/busses/i2c-omap.c +++ b/drivers/i2c/busses/i2c-omap.c @@ -157,7 +157,7 @@ #define SYSC_AUTOIDLE_MASK (1 << 0) #define SYSC_IDLEMODE_SMART 0x2 -#define SYSC_CLOCKACTIVITY_FCLK 0x2 +#define SYSC_CLOCKACTIVITY_FCLK 0x1 struct omap_i2c_dev {