1. 27 Aug, 2014 5 commits
    • Amit Virdi's avatar
      usb: gadget: zero: Add support for interrupt EP · ef11982d
      Amit Virdi authored
      Interrupt endpoints behave quite similar to the bulk endpoints with the
      difference that the endpoints expect data sending/reception request at
      particular intervals till the whole data has not been transmitted.
      
      The interrupt EP support is added to gadget zero. A new alternate setting (=2)
      has been added. It has 2 interrupt endpoints. The default parameters are set as:
      	bInterval: 1 ms for FS and 8 uFrames (implying 1 ms) for HS/SS
      	wMaxPacketSize: 64 bytes for FS and 1024 bytes for HS/SS
      However, the same can be overridden through the module parameter interface.
      
      The code is tested for HS and SS on a platform having DWC3 controller.
      Signed-off-by: default avatarAmit Virdi <amit.virdi@st.com>
      Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
      ef11982d
    • Richard Leitner's avatar
      usb: gadget: serial: remove PREFIX macro · c572a217
      Richard Leitner authored
      Remove the ttyGS PREFIX macro from u_serial.c and replace all occurences with
      the hardcoded ttyGS string.
      
      This macro was mostly used in a few debug/warning messages and a lot of
      hardcoded ttyGS existed beneath. It may have been used for renaming the
      tty, but if done so most debug messages would have ignored this.
      
      Due to the fact the usage of this PREFIX in all debug calls would have
      resulted in a hard to read/grep code it is removed completely.
      Signed-off-by: default avatarRichard Leitner <richard.leitner@skidata.com>
      Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
      c572a217
    • Richard Leitner's avatar
      usb: gadget: serial: replace {V,}DBG macro with dev_{v,}dbg · b8b0ea51
      Richard Leitner authored
      Replace the VDBG and DBG macro with the kernels "proper" debug macros
      (dev_vdbg and dev_dbg) in f_acm.c, f_obex.c & f_serial.c
      Signed-off-by: default avatarRichard Leitner <richard.leitner@skidata.com>
      Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
      b8b0ea51
    • Srinivas Kandagatla's avatar
      usb: phy: msm: Make phy_reset clk and reset line optional. · a1a4caf4
      Srinivas Kandagatla authored
      This patch makes the phy reset clk and reset line optional as this clk
      is not available on boards like IFC6410 with APQ8064.
      
      phy-reset clk is only used as argument to the mach level callbacks, so
      this patch adds condition before clk_get calls so that the driver
      wouldn't fail on SOCs which do not have this support.
      Signed-off-by: default avatarSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
      Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
      a1a4caf4
    • Stefan Agner's avatar
      usb: phy: mxs: Add VF610 USB PHY support · d0ee68b5
      Stefan Agner authored
      This adds support for the USB PHY in Vybrid VF610. We assume that
      the disconnection without VBUS is also needed for Vybrid.
      
      Tests showed, without MXS_PHY_NEED_IP_FIX, enumeration of devices
      behind a USB Hub fails with errors:
      
      [  215.163507] usb usb1-port1: cannot reset (err = -32)
      [  215.170498] usb usb1-port1: cannot reset (err = -32)
      [  215.185120] usb usb1-port1: cannot reset (err = -32)
      [  215.191345] usb usb1-port1: cannot reset (err = -32)
      [  215.202487] usb usb1-port1: cannot reset (err = -32)
      [  215.207718] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
      [  215.219317] usb usb1-port1: unable to enumerate USB device
      
      Hence we also enable the MXS_PHY_NEED_IP_FIX flag.
      Acked-by: default avatarPeter Chen <peter.chen@freescale.com>
      Signed-off-by: default avatarStefan Agner <stefan@agner.ch>
      Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
      d0ee68b5
  2. 21 Aug, 2014 5 commits
  3. 20 Aug, 2014 19 commits
  4. 16 Aug, 2014 11 commits
    • Linus Torvalds's avatar
      Linux 3.17-rc1 · 7d1311b9
      Linus Torvalds authored
      7d1311b9
    • Linus Torvalds's avatar
      Merge branch 'for_linus' of git://cavan.codon.org.uk/platform-drivers-x86 · 605f884d
      Linus Torvalds authored
      Pull x86 platform driver updates from Matthew Garrett:
       "A moderate number of changes, but nothing awfully significant.
      
        A lot of const cleanups, some reworking and additions to the rfkill
        quirks in the asus driver, a new driver for generating falling laptop
        events on Toshibas and some misc fixes.
      
        Maybe vendors have stopped inventing things"
      
      * 'for_linus' of git://cavan.codon.org.uk/platform-drivers-x86: (41 commits)
        platform/x86: Enable build support for toshiba_haps
        Documentation: Add file about toshiba_haps module
        platform/x86: Toshiba HDD Active Protection Sensor
        asus-nb-wmi: Add wapf4 quirk for the U32U
        alienware-wmi: make hdmi_mux enabled on case-by-case basis
        ideapad-laptop: Constify DMI table and other r/o variables
        asus-nb-wmi.c: Rename x401u quirk to wapf4
        compal-laptop: correct invalid hwmon name
        toshiba_acpi: Add Qosmio X75-A to the alt keymap dmi list
        toshiba_acpi: Add extra check to backlight code
        Fix log message about future removal of interface
        ideapad-laptop: Disable touchpad interface on Yoga models
        asus-nb-wmi: Add wapf4 quirk for the X550CC
        intel_ips: Make ips_mcp_limits variables static
        thinkpad_acpi: Mark volume_alsa_control_{vol,mute} as __initdata
        fujitsu-laptop: Mark fujitsu_dmi_table[] DMI table as __initconst
        hp-wmi: Add missing __init annotations to initialization code
        hp_accel: Constify ACPI and DMI tables
        fujitsu-tablet: Mark DMI callbacks as __init code
        dell-laptop: Mark dell_quirks[] DMI table as __initconst
        ...
      605f884d
    • Linus Torvalds's avatar
      Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux · 49899007
      Linus Torvalds authored
      Pull idle update from Len Brown:
       "Two Intel-platform-specific updates to intel_idle, and a cosmetic
        tweak to the turbostat utility"
      
      * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux:
        tools/power turbostat: tweak whitespace in output format
        intel_idle: Broadwell support
        intel_idle: Disable Baytrail Core and Module C6 auto-demotion
      49899007
    • Linus Torvalds's avatar
      Merge tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux · 6fedb0ff
      Linus Torvalds authored
      Pull module fix from Rusty Russell:
       "Nasty potential bug if someone uses a known module param with an
        invalid value (we don't fail unknown module params any more, just
        warn)"
      
      * tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux:
        module: Clean up ro/nx after early module load failures
      6fedb0ff
    • Linus Torvalds's avatar
      Merge branch 'rng-queue' of git://git.kernel.org/pub/scm/linux/kernel/git/amit/virtio · 90c80969
      Linus Torvalds authored
      Pull virtio-rng update from Amit Shah:
       "Add derating factor for use by hwrng core
      
        Sending directly to you with the commit log changes Ted Ts'o pointed
        out.  Not sure if Rusty's back after his travel, but this already has
        his s-o-b"
      
      * 'rng-queue' of git://git.kernel.org/pub/scm/linux/kernel/git/amit/virtio:
        virtio: rng: add derating factor for use by hwrng core
      90c80969
    • Linus Torvalds's avatar
      Merge branch 'for-linus2' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs · e64df3eb
      Linus Torvalds authored
      Pull btrfs updates from Chris Mason:
       "These are all fixes I'd like to get out to a broader audience.
      
        The biggest of the bunch is Mark's quota fix, which is also in the
        SUSE kernel, and makes our subvolume quotas dramatically more
        accurate.
      
        I've been running xfstests with these against your current git
        overnight, but I'm queueing up longer tests as well"
      
      * 'for-linus2' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs:
        btrfs: disable strict file flushes for renames and truncates
        Btrfs: fix csum tree corruption, duplicate and outdated checksums
        Btrfs: Fix memory corruption by ulist_add_merge() on 32bit arch
        Btrfs: fix compressed write corruption on enospc
        btrfs: correctly handle return from ulist_add
        btrfs: qgroup: account shared subtrees during snapshot delete
        Btrfs: read lock extent buffer while walking backrefs
        Btrfs: __btrfs_mod_ref should always use no_quota
        btrfs: adjust statfs calculations according to raid profiles
      e64df3eb
    • Linus Torvalds's avatar
      Merge tag 'locks-v3.17-2' of git://git.samba.org/jlayton/linux · 53b95d63
      Linus Torvalds authored
      Pull file locking bugfixes from Jeff Layton:
       "Most of these patches are to fix a long-standing regression that crept
        in when the BKL was removed from the file-locking code.  The code was
        converted to use a conventional spinlock, but some fl_release_private
        ops can block and you can end up sleeping inside the lock.
      
        There's also a patch to make /proc/locks show delegations as 'DELEG'"
      
      * tag 'locks-v3.17-2' of git://git.samba.org/jlayton/linux:
        locks: update Locking documentation to clarify fl_release_private behavior
        locks: move locks_free_lock calls in do_fcntl_add_lease outside spinlock
        locks: defer freeing locks in locks_delete_lock until after i_lock has been dropped
        locks: don't reuse file_lock in __posix_lock_file
        locks: don't call locks_release_private from locks_copy_lock
        locks: show delegations as "DELEG" in /proc/locks
      53b95d63
    • Linus Torvalds's avatar
      Merge git://git.kvack.org/~bcrl/aio-next · da06df54
      Linus Torvalds authored
      Pull aio updates from Ben LaHaise.
      
      * git://git.kvack.org/~bcrl/aio-next:
        aio: use iovec array rather than the single one
        aio: fix some comments
        aio: use the macro rather than the inline magic number
        aio: remove the needless registration of ring file's private_data
        aio: remove no longer needed preempt_disable()
        aio: kill the misleading rcu read locks in ioctx_add_table() and kill_ioctx()
        aio: change exit_aio() to load mm->ioctx_table once and avoid rcu_read_lock()
      da06df54
    • Azael Avalos's avatar
      platform/x86: Enable build support for toshiba_haps · 186e4e89
      Azael Avalos authored
      Makefile and Kconfig build support patch for the newly introduced
      kernel module toshiba_haps.
      Signed-off-by: default avatarAzael Avalos <coproscefalo@gmail.com>
      Signed-off-by: default avatarMatthew Garrett <matthew.garrett@nebula.com>
      186e4e89
    • Azael Avalos's avatar
      Documentation: Add file about toshiba_haps module · f369aa6d
      Azael Avalos authored
      This patch provides information about the Toshiba HDD
      Active Protection Sensor driver module toshiba_haps.
      Signed-off-by: default avatarAzael Avalos <coproscefalo@gmail.com>
      Signed-off-by: default avatarMatthew Garrett <matthew.garrett@nebula.com>
      f369aa6d
    • Azael Avalos's avatar
      platform/x86: Toshiba HDD Active Protection Sensor · 23d0ba0c
      Azael Avalos authored
      This driver adds support for the built-in accelereometer found
      on recent Toshiba laptops with HID TOS620A.
      
      This driver receives ACPI notify events 0x80 when the sensor
      detects a sudden move or a harsh vibration, as well as an
      ACPI notify event 0x81 whenever the movement or vibration has
      been stabilized.
      
      Also provides sysfs entries to get/set the desired protection
      level and reseting the HDD protection interface.
      Signed-off-by: default avatarAzael Avalos <coproscefalo@gmail.com>
      Signed-off-by: default avatarMatthew Garrett <matthew.garrett@nebula.com>
      23d0ba0c