1. 24 Nov, 2016 1 commit
  2. 19 Nov, 2016 4 commits
  3. 18 Nov, 2016 19 commits
  4. 17 Nov, 2016 14 commits
  5. 16 Nov, 2016 2 commits
    • Arnd Bergmann's avatar
      staging: vc04_services: clarify firmware dependency · 6fde3789
      Arnd Bergmann authored
      The raspberrypi-firmware driver may be built as a loadable module,
      which causes a link-time failure if the vc04_services driver is
      built-in during compile-testing:
      
      drivers/staging/vc04_services/vchiq.o: In function `vchiq_probe':
      vchiq_connected.c:(.text.vchiq_probe+0x2c): undefined reference to `rpi_firmware_get'
      drivers/staging/vc04_services/vchiq.o: In function `vchiq_platform_init':
      vchiq_connected.c:(.text.vchiq_platform_init+0x1f0): undefined reference to `rpi_firmware_property'
      
      This extends the dependency list to ensure the firmware is either
      reachable, or completely disabled in case of compile-testing.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      6fde3789
    • Arnd Bergmann's avatar
      staging: vc04_services: remove duplicate mutex_lock_interruptible · b826d73b
      Arnd Bergmann authored
      The driver tries to redefine mutex_lock_interruptible as an open-coded
      mutex_lock_killable, but that definition clashes with the normal
      mutex_lock_interruptible definition when CONFIG_DEBUG_LOCK_ALLOC
      is set:
      
      staging/vc04_services/interface/vchiq_arm/vchiq_killable.h:67:0: error: "mutex_lock_interruptible" redefined [-Werror]
       #define mutex_lock_interruptible mutex_lock_interruptible_killable
      include/linux/mutex.h:161:0: note: this is the location of the previous definition
      
      This simply removes the private implementation and uses the
      normal mutex_lock_killable directly.
      
      We could do the same for the down_interruptible_killable here, but
      it's better to just remove the semaphores entirely from the driver,
      which also takes care of that.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      b826d73b