[linux-dvb] [Fwd: Mantis gpio_set_bits() fix]

Manu Abraham abraham.manu at gmail.com
Sat Mar 17 20:57:26 CET 2007


On 3/17/07, Marko Ristola <marko.ristola at kolumbus.fi> wrote:
>
>
>
> ---------- Forwarded message ----------
> From: Marko Ristola <marko.ristola at kolumbus.fi>
> To: Manu Abraham <abraham.manu at gmail.com>
> Date: Sat, 17 Mar 2007 11:14:08 +0200
> Subject: Mantis gpio_set_bits() fix
>
> Hi Manu,
>
> Here is a bugfix for gpio_set_bits().
> What do you think about this bugfix?
>
> The bug is that the function is only able to turn the given
> bit on, but it can never turn a bit off.
>

Ah, i saw that bug a day back, but didn't care to fix it.

> My patch fixes that issue.
>

Cool, Thanks.

> With my patched version gpio_set_bits is able to turn a single bit
> on or off.
>
> I haven't verified that it actually does turn the device's power off
> when requested.



thanks,
manu



More information about the linux-dvb mailing list