1. 04 5月, 2012 1 次提交
  2. 01 5月, 2012 2 次提交
  3. 30 4月, 2012 1 次提交
    • E
      ASoC: tlv312aic23: unbreak resume · e875c1e3
      Eric Bénard 提交于
      * commit f9dfbf91 "ASoC: tlv320aic23: convert to soc-cache" leads to
      a bug preventing resumeof the codec as regmap expects a 9 bits data
      register but 0xFFFF is passed in tlv320aic23_set_bias_level and this
      values gets cached preventing any write to the TLV320AIC23_PWR
      register as the final value produced by regmap is (register << 9) | value
      
      * this patch solves the problem by only working on the 9 bits the
      register contains.
      Signed-off-by: NEric Bénard <eric@eukrea.com>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Cc: stable@vger.kernel.org
      e875c1e3
  4. 25 4月, 2012 1 次提交
  5. 24 4月, 2012 2 次提交
  6. 23 4月, 2012 1 次提交
  7. 20 4月, 2012 1 次提交
  8. 19 4月, 2012 5 次提交
  9. 18 4月, 2012 3 次提交
  10. 16 4月, 2012 1 次提交
  11. 13 4月, 2012 5 次提交
  12. 12 4月, 2012 1 次提交
  13. 11 4月, 2012 1 次提交
  14. 10 4月, 2012 3 次提交
  15. 09 4月, 2012 1 次提交
    • H
      [media] Drivers/media/radio: Fix build error · d3a92d62
      Hans Verkuil 提交于
      On Sunday, April 01, 2012 21:09:34 Tracey Dent wrote:
      > radio-maxiradio depends on SND_FM801_TEA575X_BOOL to build or will
      > result in an build error such as:
      >
      > Kernel: arch/x86/boot/bzImage is ready  (#1)
      > ERROR: "snd_tea575x_init" [drivers/media/radio/radio-maxiradio.ko] undefined!
      > ERROR: "snd_tea575x_exit" [drivers/media/radio/radio-maxiradio.ko] undefined!
      > WARNING: modpost: Found 6 section mismatch(es).
      > To see full details build your kernel with:
      > 'make CONFIG_DEBUG_SECTION_MISMATCH=y'
      > make[1]: *** [__modpost] Error 1
      > make: *** [modules] Error 2
      >
      > Select CONFIG_SND_TEA575X to fixes problem and enable
      > the driver to be built as desired.
      >
      > v2:
      > instead of selecting CONFIG_SND_FM801_TEA575X_BOOL, select
      > CONFIG_SND_TEA575X, which in turns selects CONFIG_SND_FM801_TEA575X_BOOL
      > and any other dependencies for it to build.
      
      No, this is the correct patch:
      
      RADIO_MAXIRADIO should be treated just like RADIO_SF16FMR2, I just didn't
      realize at the time that it had to be added as a SND_TEA575X dependency.
      Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com>
      Tested-by: NShea Levy <shea@shealevy.com>
      Acked-by: NMauro Carvalho Chehab <mchehab@infradead.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      d3a92d62
  16. 07 4月, 2012 6 次提交
  17. 06 4月, 2012 3 次提交
    • 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
      simple_open: automatically convert to simple_open() · 234e3405
      Stephen Boyd 提交于
      Many users of debugfs copy the implementation of default_open() when
      they want to support a custom read/write function op.  This leads to a
      proliferation of the default_open() implementation across the entire
      tree.
      
      Now that the common implementation has been consolidated into libfs we
      can replace all the users of this function with simple_open().
      
      This replacement was done with the following semantic patch:
      
      <smpl>
      @ open @
      identifier open_f != simple_open;
      identifier i, f;
      @@
      -int open_f(struct inode *i, struct file *f)
      -{
      (
      -if (i->i_private)
      -f->private_data = i->i_private;
      |
      -f->private_data = i->i_private;
      )
      -return 0;
      -}
      
      @ has_open depends on open @
      identifier fops;
      identifier open.open_f;
      @@
      struct file_operations fops = {
      ...
      -.open = open_f,
      +.open = simple_open,
      ...
      };
      </smpl>
      
      [akpm@linux-foundation.org: checkpatch fixes]
      Signed-off-by: NStephen Boyd <sboyd@codeaurora.org>
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Al Viro <viro@zeniv.linux.org.uk>
      Cc: Julia Lawall <Julia.Lawall@lip6.fr>
      Acked-by: NIngo Molnar <mingo@elte.hu>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      234e3405
    • 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
  18. 05 4月, 2012 2 次提交
    • F
      ASoC: imx-audmux: Check for NULL pointer · 66bb2a7f
      Fabio Estevam 提交于
      Check for NULL pointer before accessing it.
      Signed-off-by: NFabio Estevam <fabio.estevam@freescale.com>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      66bb2a7f
    • F
      ASoC: imx-audmux: Fix ssi port numbers in sysfs · 00792ac4
      Fabio Estevam 提交于
      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: NJoan Carles <joancarles@fqingenieria.es>
      Signed-off-by: NFabio Estevam <fabio.estevam@freescale.com>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      00792ac4