On Fri, Nov 28, 2008 at 08:46:09PM +0100, Phil Sutter wrote: > When a driver calls gpio_set_direction_{input,output}(), it obviously > doesn't want the alternate function for that pin to be active (as the > direction would not matter in that case). This patch ensures alternate > function is disabled when the direction is being changed. Applied. Thanks, Ralf