1. Oct 25, 2013
  2. Oct 23, 2013
  3. Oct 20, 2013
  4. Oct 19, 2013
  5. Oct 18, 2013
    • Rafael J. Wysocki's avatar
      Merge branch 'acpi-fixes' · 981984cb
      Rafael J. Wysocki authored
      * acpi-fixes:
        ACPI / PM: Drop two functions that are not used any more
        ATA / ACPI: remove power dependent device handling
        ACPI / power: Drop automaitc resume of power resource dependent devices
        ACPI: remove /proc/acpi/event from ACPI_BUTTON help
        ACPI / power: Release resource_lock after acpi_power_get_state() return error
      981984cb
    • Rafael J. Wysocki's avatar
      Merge branch 'pm-fixes' · bdbff716
      Rafael J. Wysocki authored
      * pm-fixes:
        cpufreq: s3c64xx: Rename index to driver_data
        intel_pstate: Fix type mismatch warning
        cpufreq / intel_pstate: Fix max_perf_pct on resume
      bdbff716
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.samba.org/sfrench/cifs-2.6 · 04919afb
      Linus Torvalds authored
      Pull CIFS fixes from Steve French:
       "Five small cifs fixes (includes fixes for: unmount hang, 2 security
        related, symlink, large file writes)"
      
      * 'for-linus' of git://git.samba.org/sfrench/cifs-2.6:
        cifs: ntstatus_to_dos_map[] is not terminated
        cifs: Allow LANMAN auth method for servers supporting unencapsulated authentication methods
        cifs: Fix inability to write files >2GB to SMB2/3 shares
        cifs: Avoid umount hangs with smb2 when server is unresponsive
        do not treat non-symlink reparse points as valid symlinks
      04919afb
    • Trent Piepho's avatar
      spi: spi-mxs: Use u32 instead of uint32_t · 42e182f8
      Trent Piepho authored
      
      
      It's consistent with all the other spi drivers that way.
      
      Signed-off-by: default avatarTrent Piepho <tpiepho@gmail.com>
      Cc: Marek Vasut <marex@denx.de>
      Cc: Fabio Estevam <fabio.estevam@freescale.com>
      Cc: Shawn Guo <shawn.guo@linaro.org>
      Signed-off-by: default avatarMark Brown <broonie@linaro.org>
      42e182f8
    • Trent Piepho's avatar
      spi: spi-mxs: Don't set clock for each xfer · a560943e
      Trent Piepho authored
      
      
      mxs_spi_setup_transfer() would set the SSP SCK rate every time it was
      called, which is before every transfer.  It is uncommon for the SCK rate to
      change between transfers (or at all of that matter) and this causes many
      unnecessary reprogrammings of the clock registers.
      
      Code changed to only set the rate when it changes.  This significantly
      speeds up short SPI messages, especially messages made up of many transfers,
      as the calculation of the clock divisors is rather costly.  On an iMX287,
      using spidev with messages that consist of 511 transfers of 4 bytes each at
      an SCK of 48 MHz, the effective transfer rate more than doubles from about
      290 KB/sec to 600 KB/sec!
      
      Signed-off-by: default avatarTrent Piepho <tpiepho@gmail.com>
      Cc: Marek Vasut <marex@denx.de>
      Cc: Fabio Estevam <fabio.estevam@freescale.com>
      Cc: Shawn Guo <shawn.guo@linaro.org>
      Signed-off-by: default avatarMark Brown <broonie@linaro.org>
      a560943e
    • Trent Piepho's avatar
      spi: spi-mxs: Clean up setup_transfer function · aa9e0c6f
      Trent Piepho authored
      
      
      It can't be called with a NULL transfer anymore so it can be simplified
      to not check for that.
      
      Fix indention of line-wrapped code to Linux standard.
      
      The transfer pointer can be const.
      
      It's not necessary to check if the spi_transfer's speed_hz is zero, as
      the spi core also fills it in from the spi_device.  However, the spi
      core does not check if spi_device's speed is zero so we have to do
      that still.
      
      Signed-off-by: default avatarTrent Piepho <tpiepho@gmail.com>
      Cc: Marek Vasut <marex@denx.de>
      Cc: Fabio Estevam <fabio.estevam@freescale.com>
      Cc: Shawn Guo <shawn.guo@linaro.org>
      Signed-off-by: default avatarMark Brown <broonie@linaro.org>
      aa9e0c6f
    • Trent Piepho's avatar
      spi: spi-mxs: Remove check of spi mode bits · d426eadb
      Trent Piepho authored
      
      
      The spi core already checks for a slave setting mode bits that we
      didn't list as supported when the master was registered.  There is no
      need to do it again in the master driver.
      
      Signed-off-by: default avatarTrent Piepho <tpiepho@gmail.com>
      Cc: Marek Vasut <marex@denx.de>
      Cc: Fabio Estevam <fabio.estevam@freescale.com>
      Cc: Shawn Guo <shawn.guo@linaro.org>
      Signed-off-by: default avatarMark Brown <broonie@linaro.org>
      d426eadb
    • Trent Piepho's avatar
      spi: spi-mxs: Fix race in setup method · 9c97e342
      Trent Piepho authored
      
      
      Despite many warnings in the SPI documentation and code, the spi-mxs
      driver sets shared chip registers in the ->setup method.  This method can
      be called when transfers are in progress on other slaves controlled by the
      master.  Setting registers or any other shared state will corrupt those
      transfers.
      
      So fix mxs_spi_setup() to not call mxs_spi_setup_transfer().
      mxs_spi_setup_transfer() is already called for each transfer when they
      are actually performed in mxs_spi_transfer_one(), so the call in
      mxs_spi_setup() isn't necessary to setup anything.
      
      Signed-off-by: default avatarTrent Piepho <tpiepho@gmail.com>
      Cc: Marek Vasut <marex@denx.de>
      Cc: Fabio Estevam <fabio.estevam@freescale.com>
      Cc: Shawn Guo <shawn.guo@linaro.org>
      Signed-off-by: default avatarMark Brown <broonie@linaro.org>
      9c97e342