1. 24 Apr, 2012 3 commits
  2. 21 Apr, 2012 1 commit
  3. 18 Apr, 2012 3 commits
  4. 15 Apr, 2012 2 commits
  5. 13 Apr, 2012 9 commits
  6. 10 Apr, 2012 3 commits
  7. 07 Apr, 2012 7 commits
  8. 06 Apr, 2012 1 commit
  9. 05 Apr, 2012 4 commits
    • Stephen Warren's avatar
      ASoC: set idle_bias_off=1 for all platform DAPM contexts · 3fec6b6d
      Stephen Warren authored
      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: default avatarStephen Warren <swarren@nvidia.com>
      Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
      3fec6b6d
    • Fabio Estevam's avatar
      ASoC: imx-audmux: Check for NULL pointer · 66bb2a7f
      Fabio Estevam authored
      Check for NULL pointer before accessing it.
      Signed-off-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
      Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
      66bb2a7f
    • Fabio Estevam's avatar
      ASoC: imx-audmux: Fix ssi port numbers in sysfs · 00792ac4
      Fabio Estevam authored
      Doing a 'cat /sys/kernel/debug/audmux/ssi7' causes the following oops to be printed by the kernel:
      
      Uhandled fault: external abort on non-linefetch (0x008) at 0xf53b003c
      Internal error: : 8 [#1] PREEMPT
      Modules linked in:
      CPU: 0    Not tainted  (3.3.0-00033-gecc726e-dirty #307)
      PC is at audmux_read_file+0x68/0x2f4
      LR is at clk_enable+0x3c/0x48
      pc : [<c001b8c8>]   lr : [<c00190a0>]    psr: a0000013
      sp : c3ad3f38  ip : c30a4000  fp : 00000003
      r10: 00001000  r9 : be83fb00  r8 : c3ad3f80
      r7 : c3ad3f80  r6 : 00000007  r5 : 00031010  r4 : c30a5000
      r3 : f53b0000  r2 : 0000003c  r1 : 380fa100  r0 : c068dda0
      Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
      Control: 0005317f  Table: 83034000  DAC: 00000015
      Process cat (pid: 1042, stack limit = 0xc3ad2270)
      Stack: (0xc3ad3f38 to 0xc3ad4000)
      3f20:                                                      c3139180 00000000
      3f40: c3bc6500 00001000 be83fb00 c3ad3f80 00001000 c3ad2000 00000000 c0095f3c
      3f60: 00000003 c3bc6508 c3bc6500 be83fb00 00000000 00000000 00001000 c0096010
      3f80: 00000000 00000000 b6fe2050 00000000 00001000 be83fb00 00000003 00000003
      3fa0: c000eb88 c000e9e0 00001000 be83fb00 00000003 be83fb00 00001000 00000000
      3fc0: 00001000 be83fb00 00000003 00000003 00000001 00000001 00000000 00000003
      3fe0: 000bec8c be83fae0 0000f808 b6ea8d5c 60000010 00000003 7dff7ede 749bedf1
      [<c001b8c8>] (audmux_read_file+0x68/0x2f4) from [<c0095f3c>] (vfs_read+0xb0/0x144)
      [<c0095f3c>] (vfs_read+0xb0/0x144) from [<c0096010>] (sys_read+0x40/0x70)
      [<c0096010>] (sys_read+0x40/0x70) from [<c000e9e0>] (ret_fast_syscall+0x0/0x2c)
      Code: e1a02186 e2822004 e3500000 e7935186 (e7937002)
      ---[ end trace 4d046e31309023de ]---
      
      Fix the ssi port numbers in sysfs to fix this problem.
      Reported-by: default avatarJoan Carles <joancarles@fqingenieria.es>
      Signed-off-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
      Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
      00792ac4
    • Kuninori Morimoto's avatar
      ASoC: ak4642: fixup: mute needs +1 step · 1f99e44c
      Kuninori Morimoto authored
      ak4642 out_tlv is +12.0dB to -115.0 dB, and it supports mute.
      But current settings didn't care +1 step for mute.
      This patch adds it
      Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
      Cc: stable@vger.kernel.org
      1f99e44c
  10. 04 Apr, 2012 1 commit
  11. 03 Apr, 2012 1 commit
  12. 02 Apr, 2012 3 commits
  13. 31 Mar, 2012 2 commits
    • Linus Torvalds's avatar
      Linux 3.4-rc1 · dd775ae2
      Linus Torvalds authored
      dd775ae2
    • Linus Torvalds's avatar
      Merge branch 's3-for-3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/amit/virtio-console · b7ffff4b
      Linus Torvalds authored
      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