Re: INPUT: keyboard_tasklet - don't touch LED's of already grabed device

From: Vojtech Pavlik
Date: Tue Sep 06 2005 - 06:58:12 EST


On Tue, Sep 06, 2005 at 04:52:28AM -0700, Hugo Vanwoerkom wrote:
>
>
> --- Aivils Stoss <aivils@xxxxxxxxxxx> wrote:
>
> > Hi, Vojtech!
> >
> > Recent kernels allow exclusive usage of input device
> > when
> > input device is grabed. keyboard_tasklet does not
> > check
> > device state and switch LED's of all keyboards.
> > However
> > grabed device may be use another LED steering code.
> >
> > This patch forbid keyboard_tasklet switch LED's of
> > grabed devices.
> >
> > Aivils Stoss
>
>
> While trying this with 2.6.12 it gets a compilation
> error. Not when you move the added statements after
> the structure declaration.
>
> Is that me heading for them thar hills?

The patch probably wasn't tested. ;)

--
Vojtech Pavlik
SuSE Labs, SuSE CR
-
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/