Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'gpio-fixes-v3.6' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio

Pull GPIO fix from Linus Walleij:
"A late GPIO fix: Roland Stigge found a problem in the LPC32xx driver
where a callback ignores one of its arguments. It needs to go into
stable too so sending this upstream immediately."

* tag 'gpio-fixes-v3.6' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio:
gpio-lpc32xx: Fix value handling of gpio_direction_output()

+5
+5
drivers/gpio/gpio-lpc32xx.c
··· 308 308 { 309 309 struct lpc32xx_gpio_chip *group = to_lpc32xx_gpio(chip); 310 310 311 + __set_gpio_level_p012(group, pin, value); 311 312 __set_gpio_dir_p012(group, pin, 0); 312 313 313 314 return 0; ··· 319 318 { 320 319 struct lpc32xx_gpio_chip *group = to_lpc32xx_gpio(chip); 321 320 321 + __set_gpio_level_p3(group, pin, value); 322 322 __set_gpio_dir_p3(group, pin, 0); 323 323 324 324 return 0; ··· 328 326 static int lpc32xx_gpio_dir_out_always(struct gpio_chip *chip, unsigned pin, 329 327 int value) 330 328 { 329 + struct lpc32xx_gpio_chip *group = to_lpc32xx_gpio(chip); 330 + 331 + __set_gpo_level_p3(group, pin, value); 331 332 return 0; 332 333 } 333 334