1. 23 11月, 2011 6 次提交
    • E
      ASoC: skip resume of soc-audio devices without codecs · 5ff1ddf2
      Eric Miao 提交于
      There are cases where there is no working codec on the soc-audio devices,
      and snd_soc_suspend() will skip such device when suspending. Yet its
      counterpart snd_soc_resume() does not check this, causing complaints
      about spinlock lockup:
      
      [  176.726087] BUG: spinlock lockup on CPU#0, kworker/0:2/1067, d8ab82a8
      [  176.732539] [<80014a14>] (unwind_backtrace+0x0/0xec) from [<805b3fc8>] (dump_stack+0x20/0x24)
      [  176.741082] [<805b3fc8>] (dump_stack+0x20/0x24) from [<80322208>] (do_raw_spin_lock+0x118/0x158)
      [  176.749882] [<80322208>] (do_raw_spin_lock+0x118/0x158) from [<805b7874>] (_raw_spin_lock_irqsave+0x5c/0x68)
      [  176.759723] [<805b7874>] (_raw_spin_lock_irqsave+0x5c/0x68) from [<8002a020>] (__wake_up+0x2c/0x5c)
      [  176.768781] [<8002a020>] (__wake_up+0x2c/0x5c) from [<804a6de8>] (soc_resume_deferred+0x3c/0x2b0)
      [  176.777666] [<804a6de8>] (soc_resume_deferred+0x3c/0x2b0) from [<8004ee20>] (process_one_work+0x2e8/0x50c)
      [  176.787334] [<8004ee20>] (process_one_work+0x2e8/0x50c) from [<8004fd08>] (worker_thread+0x1c8/0x2e0)
      [  176.796566] [<8004fd08>] (worker_thread+0x1c8/0x2e0) from [<80053ec8>] (kthread+0xa4/0xb0)
      [  176.804843] [<80053ec8>] (kthread+0xa4/0xb0) from [<8000ea70>] (kernel_thread_exit+0x0/0x8)
      Signed-off-by: NEric Miao <eric.miao@linaro.org>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      5ff1ddf2
    • A
      ASoC: cs42l51: Fix off-by-one for reg_cache_size · b284362b
      Axel Lin 提交于
      Just checking the code in cs42l51_fill_cache():
      The cache pointer points to codec->reg_cache + 1.
      I think it is because CS42L51_FIRSTREG is 0x01,
      so codec->reg_cache[0] is not used here.
      
      Then we read CS42L51_NUMREGS bytes to cache.
      So we need reg_cache_size to be CS42L51_NUMREGS + 1.
      Signed-off-by: NAxel Lin <axel.lin@gmail.com>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      b284362b
    • P
      ASoC: drop support for PlayPaq with WM8510 · 4ca8af57
      Paul Bolle 提交于
      SoC Audio support for PlayPaq with WM8510 got added in commit 9aaca968
      ("[ALSA] Revised AT32 ASoC Patch"). That support depends on
      BOARD_PLAYPAQ. That Kconfig symbol didn't exist when that support got
      added in v2.6.27. It still doesn't. It has never been possible to even
      build this driver. Drop it.
      Signed-off-by: NPaul Bolle <pebolle@tiscali.nl>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      4ca8af57
    • T
      ASoC: mpc8610: tell the CS4270 codec that it's the master · 380c8830
      Timur Tabi 提交于
      Commit ac601555 ("ASoC: Return early with -EINVAL if invalid dai format is
      detected") requires the machine driver to tell the CS4270 codec driver
      whether the CS4270 should be configured for master or slave operation.
      Signed-off-by: NTimur Tabi <timur@freescale.com>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      380c8830
    • D
      ASoC: cs4720: use snd_soc_cache_sync() · d66b8537
      Daniel Mack 提交于
      Replace the manual register restore mechanism in cs4270.c and call the
      generic snd_soc_cache_sync() handler instead.
      
      This factors code out in favour of core facilities and also fixes a
      bus confusion that is most probably caused by intermixing i2c-regmap
      functions and i2c_smbus_* accessors.
      Signed-off-by: NDaniel Mack <zonque@gmail.com>
      Reported-and-tested-by: NSven Neumann <s.neumann@raumfeld.com>
      Acked-by: NTimur Tabi <timur@freescale.com>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      d66b8537
    • B
      ASoC: SAMSUNG: Fix build error · 3d94a2a5
      Boojin Kim 提交于
      This patch adds <linux/modules.h> to fix following build errors.
      
      sound/soc/codecs/wm8994.c: In function 'wm8994_readable':
      sound/soc/codecs/wm8994.c:58: warning: unused variable 'wm8994'
      sound/soc/samsung/smdk_wm8994.c:176: error: expected declaration specifiers or '...' before string constant
      sound/soc/samsung/smdk_wm8994.c:176: warning: data definition has no type or storage class
      sound/soc/samsung/smdk_wm8994.c:176: warning: type defaults to 'int' in declaration of 'MODULE_DESCRIPTION'
      sound/soc/samsung/smdk_wm8994.c:176: warning: function declaration isn't a prototype
      sound/soc/samsung/smdk_wm8994.c:177: error: expected declaration specifiers or '...' before string constant
      Signed-off-by: NBoojin Kim <boojin.kim@samsung.com>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      3d94a2a5
  2. 22 11月, 2011 3 次提交
  3. 21 11月, 2011 2 次提交
  4. 20 11月, 2011 7 次提交
  5. 18 11月, 2011 1 次提交
  6. 15 11月, 2011 2 次提交
  7. 10 11月, 2011 1 次提交
  8. 08 11月, 2011 18 次提交