Re: Bug in arch/powerpc/sysdev/fsl_gtm.c

2011-03-15 Thread Kumar Gala
On Feb 16, 2011, at 8:59 AM, Jean-Denis Boyer wrote: > Hi. > There is a bug in the function gtm_set_ref_timer16. > When called, it correctly sets the requested timer, > but the other timer that shares the register GTCFR is reset. > > The parameter 'clear' passed to macro clrsetbits_8 should not

Bug in arch/powerpc/sysdev/fsl_gtm.c

2011-02-16 Thread Jean-Denis Boyer
Hi. There is a bug in the function gtm_set_ref_timer16. When called, it correctly sets the requested timer, but the other timer that shares the register GTCFR is reset. The parameter 'clear' passed to macro clrsetbits_8 should not be a bitwise complement, since the macro already complements it. H