Re: glxpcib: tiny bug fix

2008-03-18 Thread Marc Balmer
Rolf Sommerhalder wrote: Without the fix below, reading back the state of the impulse switch (GPIO24) on my ALIX always returned '0' (e.g. switch is pressed). Now it returns '1' if depressed, and '0' only while pressing it, as expected. As AMD5536_GPIO_READ_BACK was already #defined but so far u

glxpcib: tiny bug fix

2008-03-18 Thread Rolf Sommerhalder
Without the fix below, reading back the state of the impulse switch (GPIO24) on my ALIX always returned '0' (e.g. switch is pressed). Now it returns '1' if depressed, and '0' only while pressing it, as expected. As AMD5536_GPIO_READ_BACK was already #defined but so far unused, I assume it was just