1. 31 Jul, 2013 5 commits
  2. 30 Jul, 2013 10 commits
  3. 29 Jul, 2013 14 commits
  4. 28 Jul, 2013 1 commit
  5. 27 Jul, 2013 1 commit
  6. 26 Jul, 2013 9 commits
    • Axel Lin's avatar
      serial: arc_uart: Fix module alias · d5a12ea7
      Axel Lin authored
      Platform drivers use "platform:" prefix in module alias.
      Also use DRIVER_NAME in MODULE_ALIAS to make module autoloading work.
      Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
      Acked-by: default avatarVineet Gupta <vgupta@synopsys.com>
      Cc: stable <stable@vger.kernel.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      d5a12ea7
    • Gianluca Anzolin's avatar
      tty_port: Fix refcounting leak in tty_port_tty_hangup() · 1d9e689c
      Gianluca Anzolin authored
      The function tty_port_tty_hangup() could leak a reference to the tty_struct:
      
              struct tty_struct *tty = tty_port_tty_get(port);
      
              if (tty && (!check_clocal || !C_CLOCAL(tty))) {
                      tty_hangup(tty);
                      tty_kref_put(tty);
              }
      
      If tty != NULL and the second condition is false we never call tty_kref_put and
      the reference is leaked.
      
      Fix by always calling tty_kref_put() which accepts a NULL argument.
      
      The patch fixes a regression introduced by commit aa27a094.
      Acked-by: default avatarGustavo Padovan <gustavo.padovan@collabora.co.uk>
      Signed-off-by: default avatarGianluca Anzolin <gianluca@sottospazio.it>
      Acked-by: default avatarJiri Slaby <jslaby@suse.cz>
      Cc: stable <stable@vger.kernel.org> # 3.10
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      1d9e689c
    • Uwe Kleine-König's avatar
      serial/mxs-auart: increase time to wait for transmitter to become idle · 079a036f
      Uwe Kleine-König authored
      Without this patch the driver waits ~1 ms for the UART to become idle. At
      115200n8 this time is (theoretically) enough to transfer 11.5 characters
      (= 115200 bits/s / (10 Bits/char) * 1ms). As the mxs-auart has a fifo size
      of 16 characters the clock is gated too early. The problem is worse for
      lower baud rates.
      
      This only happens to really shut down the transmitter in the middle of a
      transfer if /dev/ttyAPPx isn't opened in userspace (e.g. by a getty) but
      was at least once (because the bootloader doesn't disable the transmitter).
      
      So increase the timeout to 20 ms which should be enough for 9600n8, too.
      Moreover skip gating the clock if the timeout is elapsed.
      
      Cc: stable@vger.kernel.org # v2.6.39+
      Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      079a036f
    • Uwe Kleine-König's avatar
      serial/mxs-auart: fix race condition in interrupt handler · d970d7fe
      Uwe Kleine-König authored
      The handler needs to ack the pending events before actually handling them.
      Otherwise a new event might come in after it it considered non-pending or
      handled and is acked then without being handled. So this event is only
      noticed when the next interrupt happens.
      
      Without this patch an i.MX28 based machine running an rt-patched kernel
      regularly hangs during boot.
      
      Cc: stable@vger.kernel.org # v2.6.39+
      Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      d970d7fe
    • Vineet Gupta's avatar
      ARC: SMP build breakage · 4ffd9e2c
      Vineet Gupta authored
      Signed-off-by: default avatarVineet Gupta <vgupta@synopsys.com>
      4ffd9e2c
    • Linus Torvalds's avatar
      Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux · 6c504ecf
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "This is just a regular fixes pull apart from the qxl one, it has
        radeon and intel bits in it,
      
        The intel fixes are for a regression with the RC6 fix and a 3.10 hdmi
        regression, whereas radeon is more DPM fixes, a few lockup fixes and
        some rn50/r100 DAC fixes"
      
      * 'drm-fixes' of git://people.freedesktop.org/~airlied/linux:
        drm/radeon/dpm: fix r600_enable_sclk_control()
        drm/radeon/dpm: implement force performance levels for rv6xx
        drm/radeon/dpm: fix displaygap programming on rv6xx
        drm/radeon/dpm: fix a typo in the rv6xx mclk setup
        drm/i915: initialize gt_lock early with other spin locks
        drm/i915: fix hdmi portclock limits
        drm/radeon: fix combios tables on older cards
        drm/radeon: improve dac adjust heuristics for legacy pdac
        drm/radeon: Another card with wrong primary dac adj
        drm/radeon: fix endian issues with DP handling (v3)
        drm/radeon/vm: only align the pt base to 32k
        drm/radeon: wait for 3D idle before using CP DMA
      6c504ecf
    • Linus Torvalds's avatar
      Merge branch 'qxl-fixes' of git://people.freedesktop.org/~airlied/linux · 2408c2e5
      Linus Torvalds authored
      Pull qxl drm fixes from Dave Airlie:
       "Okay as I warned, the qxl driver was running a bit free and loose with
        its ttm object reservations and the new lockdep enabled reservation
        tracking shone a bright light into it, it also with the new
        reservations mutexes hits a possible deadlock during boot.
      
        The first patch is a real fix to render the console correctly as the
        driver used to just drop irq renderering as too hard, this also fixes
        a sleeping while atomic warning.
      
        The other two patches are the big ugly ones that redo how the driver
        allocates objects and reserves them and makes things all work
        properly, I've tested this in a VM, and compared to the current code
        which hits a lockdep warning and the sleep while atomic warning before
        failing.
      
        So sorry this is coming in late, I should have tested qxl before
        merging the mutex code, but I'd rather just fix qxl with this than
        revert the reservations code at this point"
      
      * 'qxl-fixes' of git://people.freedesktop.org/~airlied/linux:
        qxl: convert qxl driver to proper use for reservations
        qxl: allow creation of pre-pinned objects and use for releases.
        drm/qxl: add delayed fb operations
      2408c2e5
    • Linus Torvalds's avatar
      Merge tag 'pm+acpi-3.11-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 0f746650
      Linus Torvalds authored
      Pull ACPI and power management fixes from Rafael Wysocki:
       "These are just two fixes, a revert of the would-be backlight fix that
        didn't work and an intel_pstate fix for two problems related to
        maximum P-state selection.
      
        Specifics:
      
         - Revert of the ACPI video commit that I hoped would help fix
           backlight problems related to Windows 8 compatibility on some
           systems.  Unfortunately, it turned out to cause problems to happen
           too.
      
         - Fix for two problems in intel_pstate, a possible failure to respond
           to a load change on a quiet system and a possible failure to select
           the highest available P-state on some systems.  From Dirk
           Brandewie"
      
      * tag 'pm+acpi-3.11-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        Revert "ACPI / video / i915: No ACPI backlight if firmware expects Windows 8"
        cpufreq / intel_pstate: Change to scale off of max P-state
      0f746650
    • Johan Hovold's avatar
      USB: mos7840: fix race in led handling · 05cf0dec
      Johan Hovold authored
      Fix race in LED handling introduced by commit 0eafe4de ("USB: serial:
      mos7840: add support for MCS7810 devices") which reused the port control
      urb for manipulating the LED without making sure that the urb is not
      already in use. This could lead to the control urb being manipulated
      while in flight.
      
      Fix by adding a dedicated LED urb and ctrlrequest along with a LED-busy
      flag to handle concurrency.
      
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarJohan Hovold <jhovold@gmail.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      05cf0dec