06 Sep, 2011

1 commit

  • The kernel already has a function with this name declared
    in asm-generic/gpio.h. So if this header leaks into wm8350/gpio.c
    we get

    drivers/mfd/wm8350-gpio.c:40:12: error: conflicting types for 'gpio_set_debounce'
    include/asm-generic/gpio.h:156:12: note: previous declaration of 'gpio_set_debounce' was here

    Fix this by adding a wm8350_ prefix to the function.

    Signed-off-by: Sascha Hauer
    Acked-by: Mark Brown
    Signed-off-by: Samuel Ortiz

    Sascha Hauer
     

14 Oct, 2008

1 commit

  • The WM8350 provides a number of user-configurable pins providing access
    to various signals generated by the functions on the chip. These are
    referred to as GPIO pins in the device documentation but in Linux terms
    they are more general than that, providing configuration of alternate
    functions.

    This patch implements support for selecting the alternate functions for
    these pins. They can also be used as GPIOs in the normal Linux sense -
    a subsequent patch will add support for doing so.

    This code was all written by Liam Girdwood and has had minor updates
    and rearrangements by Mark Brown.

    Signed-off-by: Mark Brown
    Acked-by: Samuel Ortiz
    Signed-off-by: Liam Girdwood

    Mark Brown