Re: [PATCH] USB device driver of Topcliff PCH

From: Greg KH
Date: Mon Sep 13 2010 - 11:49:35 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/