16 Aug, 2010

1 commit

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6:
    ALSA: sound/usb/format: silence uninitialized variable warnings
    MAINTAINERS: Add Ian Lartey as comaintaner for Wolfson devices
    MAINTAINERS: Make Wolfson entry also cover CODEC drivers
    ASoC: Only tweak WM8994 chip configuration on devices up to rev D
    ASoC: Optimise DSP performance for WM8994
    ALSA: hda - Fix dynamic ADC change working again
    ALSA: hda - Restrict PCM parameters per ELD information over HDMI
    sound: oss: sh_dac_audio.c removed duplicated #include

    Linus Torvalds
     

15 Aug, 2010

3 commits


13 Aug, 2010

6 commits

  • Any subsequent revisions will have these configuration changes applied
    by default.

    Signed-off-by: Mark Brown
    Acked-by: Liam Girdwood

    Mark Brown
     
  • Change the chip defaults to optimise performance of some of the DSP
    functionality.

    Signed-off-by: Mark Brown
    Acked-by: Liam Girdwood

    Mark Brown
     
  • The commit eb541337b7a43822fce7d0c9d967ee149b2d9a96
    ALSA: hda - Make converter setups sticky
    changes the semantics of snd_hda_codec_cleanup_stream() not to clean up
    the stream at that moment but delay the action. This broke the codes
    expecting that the clean-up is done immediately, such as dynamic ADC
    changes in some codec drivers.

    This patch fixes the issue by introducing a lower helper,
    __snd_hda_codec_cleanup_stream(), to allow the immediate clean up.
    The original snd_hda_codec_cleanup_stream() is kept as is now.

    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • When a device is plugged over HDMI, it passes some information in ELD
    including the supported PCM parameters like formats, rates, channels.
    This patch adds the check to PCM open callback of HDMI streams so that
    only valid parameters the device supports are used.

    When no device is plugged, the parameters the codec supports are used;
    it's mostly all parameters the hardware can work. This is for apps
    that are started before device plugging and do probing (e.g. a sound
    daemon), so that at least, probing would work even before the device
    plugging.

    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6:
    ASoC: add AD1980 obsolete information
    ASoC: register cache should be 1 byte aligned for 1 byte long register
    ALSA: hda - Adding support for new IDT 92HD87XX codecs
    ASoC: Fix inverted mute controls for WM8580
    ALSA: HDA: Use model=auto for LG R510
    ALSA: hda - Update model entries in HD-Audio-Models.txt
    ALSA: hda: document VIA models
    ALSA: hda - patch_nvhdmi.c: Add missing codec IDs, unify names
    ALSA: hda - add support for Conexant CX20584
    ALSA: hda - New snd-hda-intel model/pin config for hp dv7-4000
    ALSA: hda - Fix missing stream for second ADC on Realtek ALC260 HDA codec
    ALSA: hda - Make converter setups sticky
    ALSA: hda - Add support for Acer ZGA ALC271 (1025:047c)
    sound/oss: Adjust confusing if indentation
    sound: oss: au1550_ac97.c removed duplicated #include
    ASoC: Fix for changed Eureka Kconfig symbol names

    Linus Torvalds
     
  • * 'next-devicetree' of git://git.secretlab.ca/git/linux-2.6:
    mmc_spi: Fix unterminated of_match_table
    of/sparc: fix build regression from of_device changes
    of/device: Replace struct of_device with struct platform_device

    Linus Torvalds
     

12 Aug, 2010

1 commit


11 Aug, 2010

2 commits


10 Aug, 2010

6 commits


09 Aug, 2010

4 commits


08 Aug, 2010

1 commit

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6: (214 commits)
    ALSA: hda - Add pin-fix for HP dc5750
    ALSA: als4000: Fix potentially invalid DMA mode setup
    ALSA: als4000: enable burst mode
    ALSA: hda - Fix initial capsrc selection in patch_alc269()
    ASoC: TWL4030: Capture route runtime DAPM ordering fix
    ALSA: hda - Add PC-beep whitelist for an Intel board
    ALSA: hda - More relax for pending period handling
    ALSA: hda - Define AC_FMT_* constants
    ALSA: hda - Fix beep frequency on IDT 92HD73xx and 92HD71Bxx codecs
    ALSA: hda - Add support for HDMI HBR passthrough
    ALSA: hda - Set Stream Type in Stream Format according to AES0
    ALSA: hda - Fix Thinkpad X300 so SPDIF is not exposed
    ALSA: hda - FIX to not expose SPDIF on Thinkpad X301, since it does not have the ability to use SPDIF
    ASoC: wm9081: fix resource reclaim in wm9081_register error path
    ASoC: wm8978: fix a memory leak if a wm8978_register fail
    ASoC: wm8974: fix a memory leak if another WM8974 is registered
    ASoC: wm8961: fix resource reclaim in wm8961_register error path
    ASoC: wm8955: fix resource reclaim in wm8955_register error path
    ASoC: wm8940: fix a memory leak if wm8940_register return error
    ASoC: wm8904: fix resource reclaim in wm8904_register error path
    ...

    Linus Torvalds
     

07 Aug, 2010

2 commits

  • Call the gpio reset platform function instead of using the flawed
    ac97 functionality of the MPC5200(b)

    From MPC5200B User's Manual:
    "Some AC97 devices goes to a test mode, if the Sync line is high
    during the Res line is low (reset phase). To avoid this behavior the
    Sync line must be also forced to zero during the reset phase. To do
    that, the pin muxing should switch to GPIO mode and the GPIO control
    register should be used to control the output lines."

    Signed-off-by: Eric Millbrandt
    Signed-off-by: Grant Likely

    Eric Millbrandt
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/brodo/pcmcia-2.6:
    pcmcia: avoid buffer overflow in pcmcia_setup_isa_irq
    pcmcia: do not request windows if you don't need to
    pcmcia: insert PCMCIA device resources into resource tree
    pcmcia: export resource information to sysfs
    pcmcia: use struct resource for PCMCIA devices, part 2
    pcmcia: remove memreq_t
    pcmcia: move local definitions out of include/pcmcia/cs.h
    pcmcia: do not use io_req_t when calling pcmcia_request_io()
    pcmcia: do not use io_req_t after call to pcmcia_request_io()
    pcmcia: use struct resource for PCMCIA devices
    pcmcia: clean up cs.h
    pcmcia: use pcmica_{read,write}_config_byte
    pcmcia: remove cs_types.h
    pcmcia: remove unused flag, simplify headers
    pcmcia: remove obsolete CS_EVENT_ definitions
    pcmcia: split up central event handler
    pcmcia: simplify event callback
    pcmcia: remove obsolete ioctl

    Conflicts in:
    - drivers/staging/comedi/drivers/*
    - drivers/staging/wlags49_h2/wl_cs.c
    due to dev_info_t and whitespace changes

    Linus Torvalds
     

06 Aug, 2010

7 commits

  • of_device is just an alias for platform_device, so remove it entirely. Also
    replace to_of_device() with to_platform_device() and update comment blocks.

    This patch was initially generated from the following semantic patch, and then
    edited by hand to pick up the bits that coccinelle didn't catch.

    @@
    @@
    -struct of_device
    +struct platform_device

    Signed-off-by: Grant Likely
    Reviewed-by: David S. Miller

    Grant Likely
     
  • So far, we reset the converter setups like the stream-tag, the
    channel-id and format-id in prepare callbacks, and clear them in
    cleanup callbacks. This often causes a silence of the digital
    receiver for a couple of seconds.

    This patch tries to delay the converter setup changes as much as
    possible. The converter setups are cached and aren't reset as long
    as the same values are used. At suspend/resume, they are cleared
    to be recovered properly, too.

    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • Signed-off-by: Kailang Yang
    Signed-off-by: Takashi Iwai

    Kailang Yang
     
  • Indent the branch of an if.

    The semantic match that finds this problem is as follows:
    (http://coccinelle.lip6.fr/)

    //
    @r disable braces4@
    position p1,p2;
    statement S1,S2;
    @@

    (
    if (...) { ... }
    |
    if (...) S1@p1 S2@p2
    )

    @script:python@
    p1 << r.p1;
    p2 << r.p2;
    @@

    if (p1[0].column == p2[0].column):
    cocci.print_main("branch",p1)
    cocci.print_secs("after",p2)
    //

    Signed-off-by: Julia Lawall
    Signed-off-by: Takashi Iwai

    Julia Lawall
     
  • Signed-off-by: Andrea Gelmini
    Signed-off-by: Takashi Iwai

    Andrea Gelmini
     
  • * 'next-devicetree' of git://git.secretlab.ca/git/linux-2.6: (63 commits)
    of/platform: Register of_platform_drivers with an "of:" prefix
    of/address: Clean up function declarations
    of/spi: call of_register_spi_devices() from spi core code
    of: Provide default of_node_to_nid() implementation.
    of/device: Make of_device_make_bus_id() usable by other code.
    of/irq: Fix endian issues in parsing interrupt specifiers
    of: Fix phandle endian issues
    of/flattree: fix of_flat_dt_is_compatible() to match the full compatible string
    of: remove of_default_bus_ids
    of: make of_find_device_by_node generic
    microblaze: remove references to of_device and to_of_device
    sparc: remove references to of_device and to_of_device
    powerpc: remove references to of_device and to_of_device
    of/device: Replace of_device with platform_device in includes and core code
    of/device: Protect against binding of_platform_drivers to non-OF devices
    of: remove asm/of_device.h
    of: remove asm/of_platform.h
    of/platform: remove all of_bus_type and of_platform_bus_type references
    of: Merge of_platform_bus_type with platform_bus_type
    drivercore/of: Add OF style matching to platform bus
    ...

    Fix up trivial conflicts in arch/microblaze/kernel/Makefile due to just
    some obj-y removals by the devicetree branch, while the microblaze
    updates added a new file.

    Linus Torvalds
     
  • Signed-off-by: Eric Bénard
    Signed-off-by: Mark Brown

    Eric Bénard
     

05 Aug, 2010

7 commits

  • Takashi Iwai
     
  • Takashi Iwai
     
  • Takashi Iwai
     
  • * 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (48 commits)
    Documentation: update broken web addresses.
    fix comment typo "choosed" -> "chosen"
    hostap:hostap_hw.c Fix typo in comment
    Fix spelling contorller -> controller in comments
    Kconfig.debug: FAIL_IO_TIMEOUT: typo Faul -> Fault
    fs/Kconfig: Fix typo Userpace -> Userspace
    Removing dead MACH_U300_BS26
    drivers/infiniband: Remove unnecessary casts of private_data
    fs/ocfs2: Remove unnecessary casts of private_data
    libfc: use ARRAY_SIZE
    scsi: bfa: use ARRAY_SIZE
    drm: i915: use ARRAY_SIZE
    drm: drm_edid: use ARRAY_SIZE
    synclink: use ARRAY_SIZE
    block: cciss: use ARRAY_SIZE
    comment typo fixes: charater => character
    fix comment typos concerning "challenge"
    arm: plat-spear: fix typo in kerneldoc
    reiserfs: typo comment fix
    update email address
    ...

    Linus Torvalds
     
  • The NID 0x11 on HP dc5750 with ALC260 should be a speaker although BIOS
    gives it as a line-out. This patch adds a quirk to fix the pin config
    so that the real line-out is used properly.

    Reference: bnc#624118
    https://bugzilla.novell.com/show_bug.cgi?id=624118

    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • My previous patch assumed that the DMA mode (represented by 3 lowest bits of
    ALS4K_GCR99_DMA_EMULATION_CTRL register) is set to the default value 0. If
    that's not the case, it might result in invalid mode to be set.
    This patch fixes this potential problem.

    Signed-off-by: Ondrej Zary
    Signed-off-by: Takashi Iwai

    Ondrej Zary
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/suspend-2.6:
    PM / Runtime: Add runtime PM statistics (v3)
    PM / Runtime: Make runtime_status attribute not debug-only (v. 2)
    PM: Do not use dynamically allocated objects in pm_wakeup_event()
    PM / Suspend: Fix ordering of calls in suspend error paths
    PM / Hibernate: Fix snapshot error code path
    PM / Hibernate: Fix hibernation_platform_enter()
    pm_qos: Get rid of the allocation in pm_qos_add_request()
    pm_qos: Reimplement using plists
    plist: Add plist_last
    PM: Make it possible to avoid races between wakeup and system sleep
    PNPACPI: Add support for remote wakeup
    PM: describe kernel policy regarding wakeup defaults (v. 2)
    PM / Hibernate: Fix typos in comments in kernel/power/swap.c

    Linus Torvalds