1. 13 Jul, 2015 1 commit
    • Greg Kroah-Hartman's avatar
      Merge tag 'iio-fixes-for-4.2a' of... · a732cd43
      Greg Kroah-Hartman authored
      Merge tag 'iio-fixes-for-4.2a' of git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into staging-linus
      
      Jonathan writes:
      
      First set of IIO fixes for the 4.2 cycle.
      
      * Fix a regression in hid sensors suspend time as a result of adding runtime
        pm.  The normal flow of waking up devices in order to go into suspend
        (given the devices are normally suspended when not reading) to a regression
        in suspend time on some laptops (reports of an additional 8 seconds).
        Fix this by checking to see if a user action resulting in the wake up, and
        make it a null operation if it didn't.  Note that for hid sensors, there is
        nothing useful to be done when moving into a full suspend from a runtime
        suspend so they might as well be left alone.
      * rochip_saradc: fix some missing MODULE_* data including the licence so that
        the driver does not taint the kernel incorrectly and can build as a module.
      * twl4030 - mark irq as oneshot as it always should have been.
      * inv-mpu - write formats for attributes not specified, leading to miss
        interpretation of the gyro scale channel when written.
      * Proximity ABI clarification.  This had snuck through as a mess.  Some
        drivers thought proximity went in one direction, some the other.  We went
        with the most common option, documented it and fixed up the drivers going
        the other way.  Fix for sx9500 included in this set.
      * ad624r - fix a wrong shift in the output data.
      * at91_adc - remove a false limit on the value of the STARTUP register
        applied by too small a type for the device tree parameter.
      * cm3323 - clear the bits when setting the integration time (otherwise
        we can only ever set more bits in the relevant field).
      * bmc150-accel - multiple triggers are registered, but on error were not being
        unwound in the opposite order leading to removal of triggers that had not
        yet successfully been registered (count down instead of up when unwinding).
      * tcs3414 - ensure right part of val / val2 pair read so that the integration
        time is not always 0.
      * cc10001_adc - bug in kconfig dependency. Use of OR when AND was intended.
      a732cd43
  2. 07 Jul, 2015 1 commit
  3. 06 Jul, 2015 1 commit
    • Paul Gortmaker's avatar
      staging: make board support depend on OF_IRQ and CLKDEV_LOOKUP · 59b75000
      Paul Gortmaker authored
      Building allmodconfig for arch/cris currently fails with:
      
      drivers/built-in.o: In function `board_staging_register_clock':
      drivers/staging/board/board.c:131: undefined reference to `clk_add_alias'
      make: *** [vmlinux] Error 1
      
      The clk_add_alias lives in drivers/clk/clkdev.c and that file
      is only compiled for CONFIG_CLKDEV_LOOKUP, so it would seem
      we need to add a dependency on that.
      
      Geert also reported seeing this in his build coverage:
      
        There seems to be another missing dependency on OF_IRQ:
      
        drivers/built-in.o: In function `board_staging_gic_fixup_resources':
        (.init.text+0x21c2): undefined reference to `irq_create_of_mapping'
      
      so we might as well fix that at the same time since it is
      on the same line.
      
      Cc: Magnus Damm <damm+renesas@opensource.se>
      Cc: Simon Horman <horms+renesas@verge.net.au>
      Cc: Geert Uytterhoeven <geert+renesas@glider.be>
      Acked-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
      Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: default avatarChen Gang <gang.chen.5i5j@gmail.com>
      Cc: Stephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      59b75000
  4. 05 Jul, 2015 4 commits
    • Linus Torvalds's avatar
      Linux 4.2-rc1 · d770e558
      Linus Torvalds authored
      d770e558
    • Linus Torvalds's avatar
      Merge tag 'platform-drivers-x86-v4.2-2' of... · a585d2b7
      Linus Torvalds authored
      Merge tag 'platform-drivers-x86-v4.2-2' of git://git.infradead.org/users/dvhart/linux-platform-drivers-x86
      
      Pull late x86 platform driver updates from Darren Hart:
       "The following came in a bit later and I wanted them to bake in next a
        few more days before submitting, thus the second pull.
      
        A new intel_pmc_ipc driver, a symmetrical allocation and free fix in
        dell-laptop, a couple minor fixes, and some updated documentation in
        the dell-laptop comments.
      
        intel_pmc_ipc:
         - Add Intel Apollo Lake PMC IPC driver
      
        tc1100-wmi:
         - Delete an unnecessary check before the function call "kfree"
      
        dell-laptop:
         - Fix allocating & freeing SMI buffer page
         - Show info about WiGig and UWB in debugfs
         - Update information about wireless control"
      
      * tag 'platform-drivers-x86-v4.2-2' of git://git.infradead.org/users/dvhart/linux-platform-drivers-x86:
        intel_pmc_ipc: Add Intel Apollo Lake PMC IPC driver
        tc1100-wmi: Delete an unnecessary check before the function call "kfree"
        dell-laptop: Fix allocating & freeing SMI buffer page
        dell-laptop: Show info about WiGig and UWB in debugfs
        dell-laptop: Update information about wireless control
      a585d2b7
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · 1dc51b82
      Linus Torvalds authored
      Pull more vfs updates from Al Viro:
       "Assorted VFS fixes and related cleanups (IMO the most interesting in
        that part are f_path-related things and Eric's descriptor-related
        stuff).  UFS regression fixes (it got broken last cycle).  9P fixes.
        fs-cache series, DAX patches, Jan's file_remove_suid() work"
      
      [ I'd say this is much more than "fixes and related cleanups".  The
        file_table locking rule change by Eric Dumazet is a rather big and
        fundamental update even if the patch isn't huge.   - Linus ]
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: (49 commits)
        9p: cope with bogus responses from server in p9_client_{read,write}
        p9_client_write(): avoid double p9_free_req()
        9p: forgetting to cancel request on interrupted zero-copy RPC
        dax: bdev_direct_access() may sleep
        block: Add support for DAX reads/writes to block devices
        dax: Use copy_from_iter_nocache
        dax: Add block size note to documentation
        fs/file.c: __fget() and dup2() atomicity rules
        fs/file.c: don't acquire files->file_lock in fd_install()
        fs:super:get_anon_bdev: fix race condition could cause dev exceed its upper limitation
        vfs: avoid creation of inode number 0 in get_next_ino
        namei: make set_root_rcu() return void
        make simple_positive() public
        ufs: use dir_pages instead of ufs_dir_pages()
        pagemap.h: move dir_pages() over there
        remove the pointless include of lglock.h
        fs: cleanup slight list_entry abuse
        xfs: Correctly lock inode when removing suid and file capabilities
        fs: Call security_ops->inode_killpriv on truncate
        fs: Provide function telling whether file_remove_privs() will do anything
        ...
      1dc51b82
    • Linus Torvalds's avatar
      bluetooth: fix list handling · 9b284cbd
      Linus Torvalds authored
      Commit 835a6a2f ("Bluetooth: Stop sabotaging list poisoning")
      thought that the code was sabotaging the list poisoning when NULL'ing
      out the list pointers and removed it.
      
      But what was going on was that the bluetooth code was using NULL
      pointers for the list as a way to mark it empty, and that commit just
      broke it (and replaced the test with NULL with a "list_empty()" test on
      a uninitialized list instead, breaking things even further).
      
      So fix it all up to use the regular and real list_empty() handling
      (which does not use NULL, but a pointer to itself), also making sure to
      initialize the list properly (the previous NULL case was initialized
      implicitly by the session being allocated with kzalloc())
      
      This is a combination of patches by Marcel Holtmann and Tedd Ho-Jeong
      An.
      
      [ I would normally expect to get this through the bt tree, but I'm going
        to release -rc1, so I'm just committing this directly   - Linus ]
      Reported-and-tested-by: default avatarJörg Otte <jrg.otte@gmail.com>
      Cc: Alexey Dobriyan <adobriyan@gmail.com>
      Original-by: default avatarTedd Ho-Jeong An <tedd.an@intel.com>
      Original-by: Marcel Holtmann <marcel@holtmann.org>:
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      9b284cbd
  5. 04 Jul, 2015 33 commits