1. 03 Apr, 2013 2 commits
    • Haojian Zhuang's avatar
      pinctrl: core: add dependence of GPIOLIB · 2afe8229
      Haojian Zhuang authored
      In file included from drivers/pinctrl/core.c:30:0:
      include/asm-generic/gpio.h: In function 'gpio_get_value_cansleep':
      include/asm-generic/gpio.h:270:2: error: implicit declaration of
      function '__gpio_get_value' [-Werror=implicit-function-declaration]
      include/asm-generic/gpio.h: In function 'gpio_set_value_cansleep':
      include/asm-generic/gpio.h:276:2: error: implicit declaration of
      function '__gpio_set_value' [-Werror=implicit-function-declaration]
      drivers/pinctrl/core.c: In function 'pinctrl_ready_for_gpio_range':
      drivers/pinctrl/core.c:297:9: error: implicit declaration of function
      'gpio_to_chip' [-Werror=implicit-function-declaration]
      drivers/pinctrl/core.c:297:27: warning: initialization makes pointer
      from integer without a cast [enabled by default]
      drivers/pinctrl/core.c:304:45: error: dereferencing pointer to
      incomplete type
      drivers/pinctrl/core.c:305:26: error: dereferencing pointer to
      incomplete type
      drivers/pinctrl/core.c:305:39: error: dereferencing pointer to
      incomplete type
      cc1: some warnings being treated as errors
      make[2]: *** [drivers/pinctrl/core.o] Error 1
      make[1]: *** [drivers/pinctrl] Error 2
      make[1]: *** Waiting for unfinished jobs....
      
      It's caused by CONFIG_GPIOLIB isn't enabled for some platform. So
      add the dependence on pinctrl_ready_for_gpio_range().
      Signed-off-by: default avatarHaojian Zhuang <haojian.zhuang@linaro.org>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      2afe8229
    • Patrice Chotard's avatar
      pinctrl/abx500: fix ab8505 alternate function · a36571b5
      Patrice Chotard authored
      This fix allows to correctly select default and
      alternate pin mode.
      
      By default for all ABx500 family chip, pin default
      mode is selected by clearing corresponding bit in
      GPIOSELx register except for pins which support
      alternate function, in this case, corresponding bit
      must be set.
      
      But, due to an unlogical hardware implementation,
      for one particular pin (GPIO11) reverse setting
      must be done. For that, update the alternate function
      array by declaring that this pin supports alternate
      function.
      Reported-by: default avatarRamesh Chandrasekaran <ramesh.chandrasekaran@stericsson.com>
      Signed-off-by: default avatarPatrice Chotard <patrice.chotard@st.com>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      a36571b5
  2. 27 Mar, 2013 16 commits
  3. 18 Mar, 2013 1 commit
    • Linus Walleij's avatar
      pinctrl: document the "GPIO mode" pitfall · fdba2d06
      Linus Walleij authored
      Recently as adoption of the pinctrl framework is reaching
      niches where the pins are reconfigured during system sleep
      and datasheets often talk about something called "GPIO mode",
      some engineers become confused by this, thinking that since
      it is named "GPIO (something something)" it must be modeled
      in the kernel using <linux/gpio.h>.
      
      To clarify things, let's put in this piece of documentation,
      or just start off the discussion here.
      
      Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
      Cc: Pankaj Dev <pankaj.dev@st.com>
      Reviewed-by: default avatarStephen Warren <swarren@nvidia.com>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      fdba2d06
  4. 13 Mar, 2013 2 commits
  5. 07 Mar, 2013 15 commits
  6. 03 Mar, 2013 4 commits
    • Linus Torvalds's avatar
      Linux 3.9-rc1 · 6dbe51c2
      Linus Torvalds authored
      6dbe51c2
    • Linus Torvalds's avatar
      Merge tag 'disintegrate-fbdev-20121220' of git://git.infradead.org/users/dhowells/linux-headers · ea882c2e
      Linus Torvalds authored
      Pull fbdev UAPI disintegration from David Howells:
       "You'll be glad to here that the end is nigh for the UAPI patches.
        Only the fbdev/framebuffer piece remains now that the SCSI stuff has
        gone in.
      
        Here are the UAPI disintegration bits for the fbdev drivers.  It
        appears that Florian hasn't had time to deal with my patch, but back
        in December he did say he didn't mind if I pushed it forward."
      
      Yay.  No more uapi movement.  And hopefully no more big header file
      cleanups coming up either, it just tends to be very painful.
      
      * tag 'disintegrate-fbdev-20121220' of git://git.infradead.org/users/dhowells/linux-headers:
        UAPI: (Scripted) Disintegrate include/video
      ea882c2e
    • Linus Torvalds's avatar
      Merge tag 'stable/for-linus-3.9-rc1-tag' of... · 8e8b180a
      Linus Torvalds authored
      Merge tag 'stable/for-linus-3.9-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen
      
      Pull Xen bug-fixes from Konrad Rzeszutek Wilk:
       - Update the Xen ACPI memory and CPU hotplug locking mechanism.
       - Fix PAT issues wherein various applications would not start
       - Fix handling of multiple MSI as AHCI now does it.
       - Fix ARM compile failures.
      
      * tag 'stable/for-linus-3.9-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen:
        xenbus: fix compile failure on ARM with Xen enabled
        xen/pci: We don't do multiple MSI's.
        xen/pat: Disable PAT using pat_enabled value.
        xen/acpi: xen cpu hotplug minor updates
        xen/acpi: xen memory hotplug minor updates
      8e8b180a
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · 56a79b7b
      Linus Torvalds authored
      Pull  more VFS bits from Al Viro:
       "Unfortunately, it looks like xattr series will have to wait until the
        next cycle ;-/
      
        This pile contains 9p cleanups and fixes (races in v9fs_fid_add()
        etc), fixup for nommu breakage in shmem.c, several cleanups and a bit
        more file_inode() work"
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
        constify path_get/path_put and fs_struct.c stuff
        fix nommu breakage in shmem.c
        cache the value of file_inode() in struct file
        9p: if v9fs_fid_lookup() gets to asking server, it'd better have hashed dentry
        9p: make sure ->lookup() adds fid to the right dentry
        9p: untangle ->lookup() a bit
        9p: double iput() in ->lookup() if d_materialise_unique() fails
        9p: v9fs_fid_add() can't fail now
        v9fs: get rid of v9fs_dentry
        9p: turn fid->dlist into hlist
        9p: don't bother with private lock in ->d_fsdata; dentry->d_lock will do just fine
        more file_inode() open-coded instances
        selinux: opened file can't have NULL or negative ->f_path.dentry
      
      (In the meantime, the hlist traversal macros have changed, so this
      required a semantic conflict fixup for the newly hlistified fid->dlist)
      56a79b7b