28 May, 2011

3 commits

  • * 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm: (45 commits)
    ARM: 6945/1: Add unwinding support for division functions
    ARM: kill pmd_off()
    ARM: 6944/1: mm: allow ASID 0 to be allocated to tasks
    ARM: 6943/1: mm: use TTBR1 instead of reserved context ID
    ARM: 6942/1: mm: make TTBR1 always point to swapper_pg_dir on ARMv6/7
    ARM: 6941/1: cache: ensure MVA is cacheline aligned in flush_kern_dcache_area
    ARM: add sendmmsg syscall
    ARM: 6863/1: allow hotplug on msm
    ARM: 6832/1: mmci: support for ST-Ericsson db8500v2
    ARM: 6830/1: mach-ux500: force PrimeCell revisions
    ARM: 6829/1: amba: make hardcoded periphid override hardware
    ARM: 6828/1: mach-ux500: delete SSP PrimeCell ID
    ARM: 6827/1: mach-netx: delete hardcoded periphid
    ARM: 6940/1: fiq: Briefly document driver responsibilities for suspend/resume
    ARM: 6938/1: fiq: Refactor {get,set}_fiq_regs() for Thumb-2
    ARM: 6914/1: sparsemem: fix highmem detection when using SPARSEMEM
    ARM: 6913/1: sparsemem: allow pfn_valid to be overridden when using SPARSEMEM
    at91: drop at572d940hf support
    at91rm9200: introduce at91rm9200_set_type to specficy cpu package
    at91: drop boot_params and PLAT_PHYS_OFFSET
    ...

    Linus Torvalds
     
  • Commit 9477c58e3308 ("ALSA: hda - Reorganize controller quriks with bit
    flags") changed the driver type compares into various quirk bits.
    However, the check for AZX_DCAPS_NO_TCSEL got reverted: instead of
    clearing TCSEL for chipsets that have that standard capability, it
    cleared then when the NO_TCSEL bit was set.

    This can lead to noise and repeated sounds - a weird "echo" behavior.
    As the comment just above says: "Ensuring these bits are 0 clears
    playback static on some HD Audio codecs". Which is definitely true at
    least on my Core i5 Westmere system.

    Cc: Takashi Iwai
    Signed-off-by: Linus Torvalds

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6: (26 commits)
    ASoC: Fix power down for widgetless per-card DAPM context case
    ASoC: wm1250-ev1: Define "WM1250 Output" with SND_SOC_DAPM_OUTPUT
    ASoC: Remove duplicate linux/delay.h inclusion.
    ASoC: sam9g20_wm8731: use the proper SYSCKL value
    ASoC: wm8731: fix wm8731_check_osc() connected condition
    ALSA: hda - Reorganize controller quriks with bit flags
    ALSA: hda - Use snd_printd() in snd_hda_parse_pin_def_config()
    ALSA: core: remove unused variables.
    ALSA: HDA: Increase MAX_HDMI_PINS
    ALSA: PCM - Don't check DMA time-out too shortly
    MAINTAINERS: add FireWire audio maintainer
    ALSA: usb-audio: more control quirks for M-Audio FastTrack devices
    ALSA: usb-audio: add new quirk type QUIRK_AUDIO_STANDARD_MIXER
    ALSA: usb-audio: export snd_usb_feature_unit_ctl
    ALSA: usb-audio: rework add_control_to_empty()
    ALSA: usb-audio: move assignment of chip->ctrl_intf
    ALSA: hda - Use model=auto for Lenovo G555
    ALSA: HDA: Unify HDMI hotplug handling.
    ALSA: hda - Force AD1988_6STACK_DIG for Asus M3N-HT Deluxe
    ASoC: core - remove superfluous new line.
    ...

    Linus Torvalds
     

27 May, 2011

8 commits

  • Takashi Iwai
     
  • Takashi Iwai
     
  • * 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd-2.6: (57 commits)
    regulator: Fix 88pm8607.c printk format warning
    input: Add support for Qualcomm PMIC8XXX power key
    input: Add Qualcomm pm8xxx keypad controller driver
    mfd: Add omap-usbhs runtime PM support
    mfd: Fix ASIC3 SD Host Controller Configuration size
    mfd: Fix omap_usbhs_alloc_children error handling
    mfd: Fix omap usbhs crash when rmmoding ehci or ohci
    mfd: Add ASIC3 LED support
    leds: Add ASIC3 LED support
    mfd: Update twl4030-code maintainer e-mail address
    mfd: Correct the name and bitmask for ab8500-gpadc BTempPullUp
    mfd: Add manual ab8500-gpadc batt temp activation for AB8500 3.0
    mfd: Provide ab8500-core enumerators for chip cuts
    mfd: Check twl4030-power remove script error condition after i2cwrite
    mfd: Fix twl6030 irq definitions
    mfd: Add phoenix lite (twl6025) support to twl6030
    mfd: Avoid to use constraint name in 88pm860x regulator driver
    mfd: Remove checking on max8925 regulator[0]
    mfd: Remove unused parameter from 88pm860x API
    mfd: Avoid to allocate 88pm860x static platform data
    ...

    Linus Torvalds
     
  • * 'omap-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6: (33 commits)
    OMAP3: PM: Boot message is not an error, and not helpful, remove it
    OMAP3: cpuidle: change the power domains modes determination logic
    OMAP3: cpuidle: code rework for improved readability
    OMAP3: cpuidle: re-organize the C-states data
    OMAP3: clean-up mach specific cpuidle data structures
    OMAP3 cpuidle: remove useless SDP specific timings
    usb: otg: OMAP4430: Powerdown the internal PHY when USB is disabled
    usb: otg: OMAP4430: Fixing the omap4430_phy_init function
    usb: musb: am35x: fix compile error when building am35x
    usb: musb: OMAP4430: Power down the PHY during board init
    omap: drop board-igep0030.c
    omap: igep0020: add support for IGEP3
    omap: igep0020: minor refactoring
    omap: igep0020: name refactoring for future merge with IGEP3
    omap: Remove support for omap2evm
    arm: omap2plus: GPIO cleanup
    omap: musb: introduce default board config
    omap: move detection of NAND CS to common-board-devices
    omap: use common initialization for PMIC i2c bus
    omap: consolidate touch screen initialization among different boards
    ...

    Linus Torvalds
     
  • With the addition of a platform device mfd_cell pointer, MFD drivers
    can go back to passing platform data back to their sub drivers.
    This allows for an mfd_cell->mfd_data removal and thus keep the
    sub drivers MFD agnostic. This is mostly needed for non MFD aware
    sub drivers.

    Reviewed-by: Mark Brown
    Signed-off-by: Samuel Ortiz

    Samuel Ortiz
     
  • With the addition of a platform device mfd_cell pointer, MFD drivers
    can go back to passing platform back to their sub drivers.
    This allows for an mfd_cell->mfd_data removal and thus keep the
    sub drivers MFD agnostic. This is mostly needed for non MFD aware
    sub drivers.

    Cc: Miguel Aguilar
    Cc: Mark Brown
    Cc: Liam Girdwood
    Signed-off-by: Samuel Ortiz

    Samuel Ortiz
     
  • With the addition of a platform device mfd_cell pointer, MFD drivers
    can go back to passing platform data back to their sub drivers.
    This allows for an mfd_cell->mfd_data removal and thus keep the
    sub drivers MFD agnostic. This is mostly needed for non MFD aware
    sub drivers.

    Cc: Peter Ujfalusi
    Cc: Mark Brown
    Cc: Liam Girdwood
    Cc: Dmitry Torokhov
    Signed-off-by: Samuel Ortiz

    Samuel Ortiz
     
  • With the addition of a platform device mfd_cell pointer, MFD drivers
    can go back to passing platform data back to their sub drivers.
    This allows for an mfd_cell->mfd_data removal and thus keep the
    sub drivers MFD agnostic. This is mostly needed for non MFD aware
    sub drivers.

    Cc: Matti Aaltonen
    Signed-off-by: Samuel Ortiz

    Samuel Ortiz
     

26 May, 2011

12 commits


25 May, 2011

10 commits

  • Make use of the freshly introduced methods to re-use standard mixer
    handling and add some controls that are hidden but implemented in a
    standard conform way on M-Audio's FastTrack devices.

    Signed-off-by: Daniel Mack
    Original-code-by: Felix Homann
    Signed-off-by: Takashi Iwai

    Daniel Mack
     
  • This quirk type will let the driver assume that there is a standard
    mixer on a given interface, or that a specific mixer quirks will handle
    the device.

    Signed-off-by: Daniel Mack
    Signed-off-by: Takashi Iwai

    Daniel Mack
     
  • In order to allow quirks functions to hook up to the standard feature
    unit op tables, this patch exports a pointer to the struct that is used
    internally.

    That way, all the code handling the control can be kept private, and
    external code can reference the symbol to re-use it.

    Signed-off-by: Daniel Mack
    Signed-off-by: Takashi Iwai

    Daniel Mack
     
  • This patch renames add_control_to_empty() to snd_usb_mixer_add_control()
    and exports it, so the quirks functions can make use of it.

    Also, as "struct mixer_build" is private to mixer.c, rewrite the
    function to take an argument of type "struct usb_mixer_interface"
    instead.

    Signed-off-by: Daniel Mack
    Signed-off-by: Takashi Iwai

    Daniel Mack
     
  • This is needed for upcoming changes to the quirks mechanism.

    Signed-off-by: Daniel Mack
    Signed-off-by: Takashi Iwai

    Daniel Mack
     
  • The new auto-parser fixes problems on Lenovo G555.

    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • This change unifies the initial handling of a pin's state with the code to
    update a pin's state after a hotplug (unsolicited response) event. The
    initial probing, and all updates, are now routed through hdmi_present_sense.

    The stored PD and ELDV status is now always derived from GetPinSense verb
    execution, and not from the data in the unsolicited response. This means:

    a) The WAR for NVIDIA codec's UR.PD values ("old_pin_detect") can be
    removed, since this only affected the no-longer-used unsolicited
    response payload.

    b) In turn, this means that most NVIDIA codecs can simply use
    patch_generic_hdmi instead of having a custom variant just to set
    old_pin_detect.

    c) When PD && ELDV becomes true, no extra verbs are executed, because the
    GetPinSense that was previously executed by snd_hdmi_get_eld (really,
    hdmi_eld_valid) has simply moved into hdmi_present_sense.

    d) When PD && ELDV becomes false, there is a single extra GetPinSense verb
    executed for codecs where old_pin_detect wasn't set, i.e. some NVIDIA,
    and all ATI/AMD and Intel codecs. I doubt this will be a performance
    issue.

    The new unified code in hdmi_present_sense also ensures that eld->eld_valid
    is not set unless eld->monitor_present is also set. This protects against
    potential invalid combinations of PD and ELDV received from HW, and
    transitively from a graphics driver.

    Also, print the derived PD/ELDV bits from hdmi_present_sense so the kernel
    log always displays the actual state stored, which will differ from the
    values in the unsolicited response for NVIDIA HW where old_pin_detect was
    previously set.

    Finally, a couple of small tweaks originally by Takashi:

    * Clear the ELD content to zero before reading it, so that if it's not
    read (i.e. when !(PD && ELDV)) it's in a known state.

    * Don't show ELD fields in /proc ELD files when the ELD isn't valid.

    The only possibility I can see for regression here is a codec where the
    GetPinSense verb returns incorrect data. However, we're already exposed
    to that, since that data is used (a) from hdmi_add_pin to set up the
    initial pin state, and (b) within snd_hda_input_jack_report to query
    a pin's presence value. As such, I don't believe any HW has bugs here.

    Includes-changes-by: Takashi Iwai
    Signed-off-by: Stephen Warren
    Acked-by: Wu Fengguang
    Signed-off-by: Takashi Iwai

    Stephen Warren
     
  • The microphone input on the back panel (pink connector)
    stopped operating correctly after an upgrade from
    2.6.35 to 2.6.38; the actual problem manifests itself
    as a lack of microphone bias voltage (VREF_HIZ) on
    node 0x17.
    With AD1988_6STACK_DIG the maximum bias voltage (VREF_80)
    is applied and the headset operates correctly.

    Signed-off-by: Tony Vroon
    Tested-by: Doug Redlich
    Signed-off-by: Takashi Iwai

    Tony Vroon
     
  • Signed-off-by: Liam Girdwood
    Signed-off-by: Mark Brown

    Liam Girdwood
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/brodo/pcmcia-2.6:
    pcmcia: Make struct pcmcia_device_id const, sound drivers edition
    staging: pcmcia: Convert pcmcia_device_id declarations to const
    pcmcia: Convert pcmcia_device_id declarations to const
    pcmcia: Make declaration and uses of struct pcmcia_device_id const
    pcmcia/sa1100: put sa11x0_pcmcia_hw_init[] to .devinit.data

    Linus Torvalds
     

24 May, 2011

7 commits

  • Currently CODEC and platform drivers have their module reference count
    incremented soc_probe_dai_link() whilst CPU DAI drivers have their reference
    count incremented in soc_bind_dai_link().

    CPU DAIs should have their reference count incremented in soc_probe_dai_link()
    just like the CODEC and platform drivers.

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

    Liam Girdwood
     
  • Commit f0fba2ad (ASoC: multi-component - ASoC Multi-Component Support)
    broke support for Raumfeld platforms as it didn't take into account the
    different hardware features on individual devices.

    In particular, Raumfeld speakers have no S/PDIF output, so the members
    of the snd_soc_card struct must be set dynamically.

    Signed-off-by: Daniel Mack
    Acked-by: Liam Girdwood
    Signed-off-by: Mark Brown
    Cc: stable@kernel.org

    Daniel Mack
     
  • Fix some logic failures in auto-mute handling in Conexant auto-parser.
    Also, modify codes to be a bit more understandable.

    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • …rnel/git/khilman/linux-omap-pm into omap-for-linus

    Tony Lindgren
     
  • * 'tty-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty-2.6: (48 commits)
    serial: 8250_pci: add support for Cronyx Omega PCI multiserial board.
    tty/serial: Fix break handling for PORT_TEGRA
    tty/serial: Add explicit PORT_TEGRA type
    n_tracerouter and n_tracesink ldisc additions.
    Intel PTI implementaiton of MIPI 1149.7.
    Kernel documentation for the PTI feature.
    export kernel call get_task_comm().
    tty: Remove to support serial for S5P6442
    pch_phub: Support new device ML7223
    8250_pci: Add support for the Digi/IBM PCIe 2-port Adapter
    ASoC: Update cx20442 for TTY API change
    pch_uart: Support new device ML7223 IOH
    parport: Use request_muxed_region for IT87 probe and lock
    tty/serial: add support for Xilinx PS UART
    n_gsm: Use print_hex_dump_bytes
    drivers/tty/moxa.c: Put correct tty value
    TTY: tty_io, annotate locking functions
    TTY: serial_core, remove superfluous set_task_state
    TTY: serial_core, remove invalid test
    Char: moxa, fix locking in moxa_write
    ...

    Fix up trivial conflicts in drivers/bluetooth/hci_ldisc.c and
    drivers/tty/serial/Makefile.

    I did the hci_ldisc thing as an evil merge, cleaning things up.

    Linus Torvalds
     
  • Fix the initialization of capture-source route when auto-mic is enabled
    for Conexant auto-parser.

    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • Fix the auto-mic detection for Cxt auto-parser due to off-by-one
    missing initialization.

    Signed-off-by: Takashi Iwai

    Takashi Iwai