From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753307Ab0IMPtc (ORCPT ); Mon, 13 Sep 2010 11:49:32 -0400 Received: from cantor.suse.de ([195.135.220.2]:47486 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752594Ab0IMPtb (ORCPT ); Mon, 13 Sep 2010 11:49:31 -0400 Date: Mon, 13 Sep 2010 08:29:05 -0700 From: Greg KH To: Masayuki Ohtake Cc: Randy Dunlap , Peter Korsgaard , Nicolas Ferre , Michal Nazarewicz , Maurus Cuelenaere , linux-usb , Laurent Pinchart , Fabien Chouteau , david Brownell , Christoph Egger , LKML , MeeGo , "Wang, Qi" , "Wang, Yong Y" , Andrew , Intel OTC , "Foster, Margie" , Arjan , Toshiharu Okada , Takahiro Shimizu , Tomoya Morinaga Subject: Re: [PATCH] USB device driver of Topcliff PCH Message-ID: <20100913152905.GB24329@suse.de> References: <4C85EE6F.6000706@dsn.okisemi.com> <20100908002229.GC15785@suse.de> <000b01cb52fb$794d2940$66f8800a@maildom.okisemi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000b01cb52fb$794d2940$66f8800a@maildom.okisemi.com> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 13, 2010 at 01:23:40PM +0900, Masayuki Ohtake wrote: > Hi Greg > > > > +#define PCH_UDC_BIT_CLR(reg, bitMask) \ > > > + iowrite32((ioread32((reg)) & (~(bitMask))), (reg)) > > > > > > Why not just use the iowrite32 functions directly? Or surely there's > > another built-in kernel macro for this somewhere, right? > > [masa] > Which macro is it? > Do you know? Nope, sorry, try digging around. good luck, greg k-h