1. 31 May, 2015 27 commits
  2. 30 May, 2015 4 commits
  3. 28 May, 2015 2 commits
    • Arnd Bergmann's avatar
      staging/wilc1000: fix Kconfig dependencies · 9535ebc5
      Arnd Bergmann authored
      The newly added wilc1000 driver lacks several Kconfig dependencies,
      resulting in a multitude of randconfig build errors, e.g.:
      
      drivers/built-in.o: In function `WILC_WFI_mgmt_tx_cancel_wait':
      binder.c:(.text+0x12bd28): undefined reference to `cfg80211_remain_on_channel_expired'
      drivers/built-in.o: In function `WILC_WFI_CfgSetChannel':
      binder.c:(.text+0x12c9d8): undefined reference to `ieee80211_frequency_to_channel'
      drivers/built-in.o: In function `WILC_WFI_CfgAlloc':
      binder.c:(.text+0x132530): undefined reference to `wiphy_new_nm'
      drivers/built-in.o: In function `wilc_netdev_init':
      binder.c:(.text+0x1356d0): undefined reference to `register_inetaddr_notifier'
      drivers/built-in.o: In function `linux_spi_init':
      binder.c:(.text+0x210a68): undefined reference to `spi_register_driver'
      
      This change ensures that we always have at least one of SPI or MMC
      enabled, and are only able to pick an interface that works. It also
      adds all the missing dependencies for networking infrastructure
      (cfg80211, wext, and ipv4).
      
      In order to make it readable, I also took the liberty of re-indenting
      the Kconfig file to the normal conventions.
      Reported-by: default avatarkbuild test robot <fengguang.wu@intel.com>
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Acked-by: default avatarNicolas Ferre <nicolas.ferre@atmel.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      9535ebc5
    • Guenter Roeck's avatar
      staging: wilc1000: Disable for S390 · e3cb742c
      Guenter Roeck authored
      The wilc1000 driver uses definitions such as DEBUG_LEVEL, DEBUG,
      and PRINT_INFO. This causes compile errors on S390 which has similar
      definitions in its core code. Disable the driver for S390 instead
      of giving the non-standard messaging code credit by trying to fix it.
      Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      e3cb742c
  4. 27 May, 2015 1 commit
  5. 24 May, 2015 6 commits
    • Johnny Kim's avatar
      staging: MAINTAINERS: add maintainer for wilc1000 device · a30baec1
      Johnny Kim authored
      Add myself as maintainer for atmel wilc1000
      Signed-off-by: default avatarJohnny Kim <johnny.kim@atmel.com>
      Signed-off-by: default avatarRachel Kim <rachel.kim@atmel.com>
      Signed-off-by: default avatarDean Lee <dean.lee@atmel.com>
      Signed-off-by: default avatarChris Park <chris.park@atmel.com>
      Acked-by: default avatarNicolas Ferre <nicolas.ferre@atmel.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      a30baec1
    • Johnny Kim's avatar
      staging: wilc1000: Add SDIO/SPI 802.11 driver · c5c77ba1
      Johnny Kim authored
      This driver is for the wilc1000 which is a single chip IEEE 802.11
      b/g/n device.
      The driver works together with cfg80211, which is the kernel side of
      configuration management for wireless devices because the wilc1000
      chipset is fullmac where the MLME is managed in hardware.
      
      The driver worked from kernel version 2.6.38 and being now ported
      to several others since then.
      A TODO file is included as well in this commit.
      Signed-off-by: default avatarJohnny Kim <johnny.kim@atmel.com>
      Signed-off-by: default avatarRachel Kim <rachel.kim@atmel.com>
      Signed-off-by: default avatarDean Lee <dean.lee@atmel.com>
      Signed-off-by: default avatarChris Park <chris.park@atmel.com>
      Acked-by: default avatarNicolas Ferre <nicolas.ferre@atmel.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      c5c77ba1
    • Sudip Mukherjee's avatar
      staging: panel: fix stackdump · 7d98c63e
      Sudip Mukherjee authored
      if we load the module, unload and then again try to load the module, we
      will get a stackdump. In the module_exit function we are unregistering
      the device and releasing the parport. So when we reach the detach
      function parport is already null and the unregister_reboot_notifier()
      is never called. When we again try to load the module it again tries
      register_reboot_notifier() and gives us a stackdump as its earlier
      registration is still not removed. It was caused by the
      commit bb046fef ('staging: panel: register reboot')
      Fix this by moving all the unregistering and releasing in the detach
      function, which should be the ideal case as the detach will be called if
      we try to unregister the driver or if the parport is removed.
      
      Fixes: bb046fef ('staging: panel: register reboot')
      Signed-off-by: default avatarSudip Mukherjee <sudip@vectorindia.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      7d98c63e
    • Huacai Chen's avatar
      staging: sm750: Fix lynxfb_ops_imageblit() if image->depth != 1 · 288ef567
      Huacai Chen authored
      If image->depth != 1, lynxfb_ops_imageblit() should fallback to call
      cfb_imageblit(), not return directly. Otherwise it can't display the
      boot logo.
      
      Cc: Teddy Wang <teddy.wang@siliconmotion.com>
      Acked-by: default avatarSudip Mukherjee <sudipm.mukherjee@gmail.com>
      Signed-off-by: default avatarHuacai Chen <chenhc@lemote.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      288ef567
    • Luis R. Rodriguez's avatar
      staging: sm750fb: use arch_phys_wc_add() and ioremap_wc() · 2e043a92
      Luis R. Rodriguez authored
      The same area used for ioremap() is used for the MTRR area.
      Convert the driver from using the x86 specific MTRR code to
      the architecture agnostic arch_phys_wc_add(). arch_phys_wc_add()
      will avoid MTRR if write-combining is available, in order to
      take advantage of that also ensure the ioremap'd area is requested
      as write-combining.
      
      There are a few motivations for this:
      
      a) Take advantage of PAT when available
      
      b) Help bury MTRR code away, MTRR is architecture specific and on
         x86 its replaced by PAT
      
      c) Help with the goal of eventually using _PAGE_CACHE_UC over
         _PAGE_CACHE_UC_MINUS on x86 on ioremap_nocache() (see commit
         de33c442 titled "x86 PAT: fix performance drop for glx,
         use UC minus for ioremap(), ioremap_nocache() and
         pci_mmap_page_range()")
      
      The conversion done is expressed by the following Coccinelle
      SmPL patch, it additionally required manual intervention to
      address all the #ifdery and removal of redundant things which
      arch_phys_wc_add() already addresses such as verbose message
      about when MTRR fails and doing nothing when we didn't get
      an MTRR.
      
      @ mtrr_found @
      expression index, base, size;
      @@
      
      -index = mtrr_add(base, size, MTRR_TYPE_WRCOMB, 1);
      +index = arch_phys_wc_add(base, size);
      
      @ mtrr_rm depends on mtrr_found @
      expression mtrr_found.index, mtrr_found.base, mtrr_found.size;
      @@
      
      -mtrr_del(index, base, size);
      +arch_phys_wc_del(index);
      
      @ mtrr_rm_zero_arg depends on mtrr_found @
      expression mtrr_found.index;
      @@
      
      -mtrr_del(index, 0, 0);
      +arch_phys_wc_del(index);
      
      @ mtrr_rm_fb_info depends on mtrr_found @
      struct fb_info *info;
      expression mtrr_found.index;
      @@
      
      -mtrr_del(index, info->fix.smem_start, info->fix.smem_len);
      +arch_phys_wc_del(index);
      
      @ ioremap_replace_nocache depends on mtrr_found @
      struct fb_info *info;
      expression base, size;
      @@
      
      -info->screen_base = ioremap_nocache(base, size);
      +info->screen_base = ioremap_wc(base, size);
      
      @ ioremap_replace_default depends on mtrr_found @
      struct fb_info *info;
      expression base, size;
      @@
      
      -info->screen_base = ioremap(base, size);
      +info->screen_base = ioremap_wc(base, size);
      
      Generated-by: Coccinelle SmPL
      Cc: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
      Cc: Teddy Wang <teddy.wang@siliconmotion.com>
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Suresh Siddha <sbsiddha@gmail.com>
      Cc: Ingo Molnar <mingo@elte.hu>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Juergen Gross <jgross@suse.com>
      Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
      Cc: Andy Lutomirski <luto@amacapital.net>
      Cc: Dave Airlie <airlied@redhat.com>
      Cc: Antonino Daplas <adaplas@gmail.com>
      Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
      Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
      Cc: devel@driverdev.osuosl.org
      Cc: linux-fbdev@vger.kernel.org
      Cc: linux-kernel@vger.kernel.org
      Signed-off-by: default avatarLuis R. Rodriguez <mcgrof@suse.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      2e043a92
    • Valentin Rothberg's avatar
      staging: I2O cleanup · f6abdb50
      Valentin Rothberg authored
      Remove the last reference on menuconfig I20 that has been removed by
      commit 4a72a7af ("staging: remove i2o subsystem").
      Signed-off-by: default avatarValentin Rothberg <valentinrothberg@gmail.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      f6abdb50