1. 21 6月, 2012 24 次提交
  2. 20 6月, 2012 2 次提交
    • L
      Merge tag 'sound-3.5' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · f40759e7
      Linus Torvalds 提交于
      Pull sound fixes from Takashi Iwai:
       "Most of changes are fairly small and driver-specific.
      
        A remaining regression fix for USB-audio sync pipe check, a fix for
        HD-audio power-up sequence, fixes for ASoC pxa-ssp compile issues, and
        bunch of ASoC codec and trivial fix patches."
      
      * tag 'sound-3.5' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
        ALSA: 6fire: use NULL instead of 0 for pointer assignment
        ALSA: hda - Handle open while transitioning to D3.
        ALSA: snd-usb: make snd_usb_substream_capture_trigger static
        ALSA: snd-usb: fix sync pipe check
        ASoC: tegra+wm8903: turn of mic detect when card is removed
        ASoC: wm8996: Mark the CODEC as cache only when powering off on boot
        ASoC: wm8996: Move reset before the initial regulator disable
        ASoC: wm8996: Remove spurious regulator_bulk_free()
        ASoC: wm8904: Fix cache only management
        ASoC: wm8904: Fix GPIO and MICBIAS initialisation for regmap conversion
        ASoC: fix pxa-ssp compiling issue under mach-mmp
        ARM: MMP: add pxa910-ssp into ssp_id_table
      f40759e7
    • L
      Merge tag 'regulator-3.5' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator · 2fe8ac60
      Linus Torvalds 提交于
      Pull regulator fixes from Mark Brown:
       "One small bug fix, plus a rename of all the ST Ericsson regulators in
        the device tree since all the device trees had been written with
        different names and some infelicities in the test proceedures meant
        that the device tree code had apparently never actually been run
        against the upstream device tree."
      
      * tag 'regulator-3.5' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator:
        regulator: Change db8500-prcmu match names to reflect Device Tree
        regulator: Change ab8500 match names to reflect Device Tree
        regulator: Fix the s5m8767a problem of the division by null
      2fe8ac60
  3. 19 6月, 2012 8 次提交
  4. 18 6月, 2012 6 次提交
    • R
      SPI: fix over-eager devm_xxx() conversion · 10aa5a35
      Russell King 提交于
      1a77b127 (OMAP : SPI : use devm_* functions) converted the SPI
      device controller state to use devm_kzalloc().  Unfortunately, this
      is used against an unbound struct device, which results in the
      following when the device is bound to its driver:
      
      ------------[ cut here ]------------
      WARNING: at /home/rmk/git/linux-rmk/drivers/base/dd.c:257 driver_probe_device+0x78/0x21c()
      Modules linked in:
      Backtrace:
      [<c0017d0c>] (dump_backtrace+0x0/0x10c) from [<c033e208>] (dump_stack+0x18/0x1c) r7:00000000 r6:c01ff28c r5:c040050c r4:00000101
      [<c033e1f0>] (dump_stack+0x0/0x1c) from [<c00337ec>] (warn_slowpath_common+0x58/0x70)
      [<c0033794>] (warn_slowpath_common+0x0/0x70) from [<c0033828>] (warn_slowpath_null+0x24/0x2c)
      [<c0033804>] (warn_slowpath_null+0x0/0x2c) from [<c01ff28c>] (driver_probe_device+0x78/0x21c)
      [<c01ff214>] (driver_probe_device+0x0/0x21c) from [<c01ff49c>] (__driver_attach+0x6c/0x90)
      [<c01ff430>] (__driver_attach+0x0/0x90) from [<c01fda70>] (bus_for_each_dev+0x58/0x98)
      [<c01fda18>] (bus_for_each_dev+0x0/0x98) from [<c01ff0f4>] (driver_attach+0x20/0x28)
      [<c01ff0d4>] (driver_attach+0x0/0x28) from [<c01fe2f4>] (bus_add_driver+0xb4/0x230)
      [<c01fe240>] (bus_add_driver+0x0/0x230) from [<c01ffb24>] (driver_register+0xac/0x138)
      [<c01ffa78>] (driver_register+0x0/0x138) from [<c0215d4c>] (spi_register_driver+0x4c/0x60)
      [<c0215d00>] (spi_register_driver+0x0/0x60) from [<c045414c>] (ks8851_init+0x14/0x1c)
      [<c0454138>] (ks8851_init+0x0/0x1c) from [<c0008770>] (do_one_initcall+0x9c/0x164)
      [<c00086d4>] (do_one_initcall+0x0/0x164) from [<c0436410>] (kernel_init+0x128/0x210)
      [<c04362e8>] (kernel_init+0x0/0x210) from [<c0038754>] (do_exit+0x0/0x72c)
      ---[ end trace 4dcda79f5e89dd84 ]---
      ks8851 spi1.0: message enable is 0
      ks8851 spi1.0: eth0: revision 0, MAC 08:00:28:01:4d:c6, IRQ 194, has EEPROM
      
      Fix this by partially reverting the original commit.
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      10aa5a35
    • D
      ALSA: 6fire: use NULL instead of 0 for pointer assignment · 0b1d8e09
      Daniel Mack 提交于
      Signed-off-by: NDaniel Mack <zonque@gmail.com>
      Cc: Torsten Schenk <torsten.schenk@zoho.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      0b1d8e09
    • D
      ALSA: hda - Handle open while transitioning to D3. · b4a91cf0
      Dylan Reid 提交于
      This addresses an issue encountered when a pcm is opened while
      transitioning to low power state (codec->power_on == 1 &&
      codec->power_transition == -1).  Add snd_pcm_power_up_d3wait to
      hda_codec.  This function is used to power up from azx_open as opposed
      to snd_hda_power_up used from codec_exec_verb. When powering up from
      azx_open, wait for pending power downs to complete, avoiding the power
      up continuing in parallel with the power down on the work queue.
      
      The specific issue seen was with the CS4210 codec, it powers off the ADC
      and DAC nid in its suspend handler.  If it is re-opened before the
      ~100ms power down process completes, the ADC and DAC nid are initialized
      while powered down and audio is lost until another suspend/resume cycle.
      Signed-off-by: NDylan Reid <dgreid@chromium.org>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      b4a91cf0
    • D
      afe25967
    • D
      ALSA: snd-usb: fix sync pipe check · 7fb75db1
      Daniel Mack 提交于
      Fix a bogus sanity check for sync pipe in pcm.c. This flaw was
      introduced during the streaming logic refactorization.
      
      While at it, improve the error messages that are generated in such cases.
      Signed-off-by: NDaniel Mack <zonque@gmail.com>
      Reported-and-tested-by: <ben@b1c1l1.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      7fb75db1
    • T
      Merge tag 'asoc-3.5' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus · ef890ae9
      Takashi Iwai 提交于
      ASoC: Updates for 3.5
      
      All driver specific and fairly small.  The pxa-ssp changes are larger
      than I'd like but they're build failures and are pretty clear to
      inspection.
      ef890ae9