[PATCH] ssb: Make ssb_wait_bit multi-bit safe

Michael Büsch mb at bu3sch.de
Mon Feb 14 19:20:01 EST 2011


On Tue, 2011-02-15 at 01:03 +0100, Gábor Stefanik wrote: 
> > -static int ssb_wait_bit(struct ssb_device *dev, u16 reg, u32 bitmask,
> > -                       int timeout, int set)
> > +static int ssb_wait_bits(struct ssb_device *dev, u16 reg, u32 bitmask,
> > +                        int timeout, int set)
> 
> While you are at it, you may want to change this to "bool set".

Please feel free to submit a separate patch on top of this.

-- 
Greetings Michael.




More information about the b43-dev mailing list