1. 20 4月, 2012 1 次提交
    • T
      ALSA: hda - Introduce snd_hda_set_pin_ctl*() helper functions · cdd03ced
      Takashi Iwai 提交于
      For setting the pin-control values more safely to match with the
      actual pin capability bits, a copule of new helper functions,
      snd_hda_set_pin_ctl() and snd_hda_set_pin_ctl_cache(), are
      introduced.  These are simple replacement of the codec verb write with
      AC_VERB_SET_PIN_WIDGET but do more sanity checks and filter out
      superfluous pin-control bits if they don't fit with the corresponding
      pin capabilities.
      
      Some codecs are screwed up or ignore the command when such a wrong bit
      is set.  These helpers will avoid such secret errors.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      cdd03ced
  2. 19 4月, 2012 7 次提交
  3. 18 4月, 2012 1 次提交
  4. 13 4月, 2012 3 次提交
  5. 12 4月, 2012 1 次提交
  6. 11 4月, 2012 1 次提交
  7. 10 4月, 2012 4 次提交
  8. 07 4月, 2012 8 次提交
  9. 06 4月, 2012 2 次提交
    • S
      ASoC: tegra: fix i2s compilation when !CONFIG_DEBUG_FS · 8abe05c6
      Stephen Warren 提交于
      Commit d4a2eca7 "ASoC: Tegra I2S: Remove dependency on pdev->id" changed
      the prototype of tegra_i2s_debug_add, but didn't update the dummy inline
      used when !CONFIG_DEBUG_FS. Fix that.
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Cc: <stable@vger.kernel.org> # 3.3
      8abe05c6
    • S
      ASoC: set idle_bias_off=1 for all platform DAPM contexts · 3fec6b6d
      Stephen Warren 提交于
      The ASoC core currently defaults to using STANDBY rather than OFF for
      idle ASoC platform devices, which causes a permanent pm_runtime_get() on
      them. This keeps the device active unnecessarily. This can be especially
      problematic when the ASoC platform device and DAI device are the same
      device.
      
      The distinction between OFF and STANDBY is likely not relevant for ASoC
      platform drivers, since they aren't analog devices. So, solve this issue
      by hard-coding idle_bias_off = 1 for all ASoC platform devices. If this
      turns out to be a problem, this value could be sourced from the
      snd_soc_platform_driver, similarly to soc_probe_codec().
      
      Note: Prior to this change, this caused a large (10) runtime_active count
      for the Tegra I2S controller even when not in use, and a leak in that
      value as streams were started and stopped. This change probably hides a
      bug.
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      3fec6b6d
  10. 05 4月, 2012 4 次提交
  11. 04 4月, 2012 1 次提交
  12. 03 4月, 2012 4 次提交
  13. 01 4月, 2012 3 次提交
    • L
      Linux 3.4-rc1 · dd775ae2
      Linus Torvalds 提交于
      dd775ae2
    • L
      Merge branch 's3-for-3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/amit/virtio-console · b7ffff4b
      Linus Torvalds 提交于
      Pull virtio S3 support patches from Amit Shah:
       "Turns out S3 is not different from S4 for virtio devices: the device
        is assumed to be reset, so the host and guest state are to be assumed
        to be out of sync upon resume.  We handle the S4 case with exactly the
        same scenario, so just point the suspend/resume routines to the
        freeze/restore ones.
      
        Once that is done, we also use the PM API's macro to initialise the
        sleep functions.
      
        A couple of cleanups are included: there's no need for special thaw
        processing in the balloon driver, so that's addressed in patches 1 and
        2.
      
        Testing: both S3 and S4 support have been tested using these patches
        using a similar method used earlier during S4 patch development: a
        guest is started with virtio-blk as the only disk, a virtio network
        card, a virtio-serial port and a virtio balloon device.  Ping from
        guest to host, dd /dev/zero to a file on the disk, and IO from the
        host on the virtio-serial port, all at once, while exercising S4 and
        S3 (separately) were tested.  They all continue to work fine after
        resume.  virtio balloon values too were tested by inflating and
        deflating the balloon."
      
      Pulling from Amit, since Rusty is off getting married (and presumably
      shaving people).
      
      * 's3-for-3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/amit/virtio-console:
        virtio-pci: switch to PM ops macro to initialise PM functions
        virtio-pci: S3 support
        virtio-pci: drop restore_common()
        virtio: drop thaw PM operation
        virtio: balloon: Allow stats update after restore from S4
      b7ffff4b
    • L
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · 8bb1f229
      Linus Torvalds 提交于
      Pull second try at vfs part d#2 from Al Viro:
       "Miklos' first series (with do_lookup() rewrite split into edible
        chunks) + assorted bits and pieces.
      
        The 'untangling of do_lookup()' series is is a splitup of what used to
        be a monolithic patch from Miklos, so this series is basically "how do
        I convince myself that his patch is correct (or find a hole in it)".
        No holes found and I like the resulting cleanup, so in it went..."
      
      Changes from try 1: Fix a boot problem with selinux, and commit messages
      prettied up a bit.
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: (24 commits)
        vfs: fix out-of-date dentry_unhash() comment
        vfs: split __lookup_hash
        untangling do_lookup() - take __lookup_hash()-calling case out of line.
        untangling do_lookup() - switch to calling __lookup_hash()
        untangling do_lookup() - merge d_alloc_and_lookup() callers
        untangling do_lookup() - merge failure exits in !dentry case
        untangling do_lookup() - massage !dentry case towards __lookup_hash()
        untangling do_lookup() - get rid of need_reval in !dentry case
        untangling do_lookup() - eliminate a loop.
        untangling do_lookup() - expand the area under ->i_mutex
        untangling do_lookup() - isolate !dentry stuff from the rest of it.
        vfs: move MAY_EXEC check from __lookup_hash()
        vfs: don't revalidate just looked up dentry
        vfs: fix d_need_lookup/d_revalidate order in do_lookup
        ext3: move headers to fs/ext3/
        migrate ext2_fs.h guts to fs/ext2/ext2.h
        new helper: ext2_image_size()
        get rid of pointless includes of ext2_fs.h
        ext2: No longer export ext2_fs.h to user space
        mtdchar: kill persistently held vfsmount
        ...
      8bb1f229