15 Sep, 2012

1 commit


13 Sep, 2012

2 commits

  • Set the default value of position_fix -1, and allow user passing
    position_fix=0 explicitly to set the "auto" position-fix mode.
    Otherwise the auto mode may be switched to others like COMBO of
    VIACOMBO when the controller prefers it, thus user can't set the auto
    mode any longer.

    Also updated the documentation appropriately, too.

    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • For following the standard, define more channel map positions and
    shuffle the items a bit:

    - As both PulseAudio and gstreamer define MONO channel position
    explicitly, we should follow that, too. The mono streams point to
    this channel position unless they are explicitly assigned to certain
    channel positions.

    - Top-front-* and Top-rear-* positions are added, carried from
    PulseAudio's definitions.

    - Move NA and MONO definitions at the top of table right after
    UNKNOWN, since these are more abstract in comparison with other
    practical positions.

    Signed-off-by: Takashi Iwai

    Takashi Iwai
     

07 Sep, 2012

2 commits


15 Aug, 2012

1 commit

  • Added a simple support of automute for the front HP jack to AD1882
    stack model. Such an addition is basically an exception -- we really
    want to avoid the static quirk codes, but AD1882 parser isn't still
    ready for moving to the BIOS auto-parser yet. So, as a quick fix, I
    merged it for now.

    In near future, we really need the big clean up of patch_analog.c to
    move on to the auto-parser...

    Signed-off-by: Takashi Iwai

    Takashi Iwai
     

02 Aug, 2012

1 commit

  • Pull sound fixes from Takashi Iwai:
    "A collection of small fixes that have been found recently. Most of
    the commits are regression fixes in HD-audio and some other random
    drivers."

    * tag 'sound-3.6' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
    ALSA: snd-usb: fix clock source validity index
    ALSA: hda - Fix mute-LED GPIO initialization for IDT codecs
    ALSA: hda - Add descriptions for missing IDT 92HD83x models
    ALSA: hda - Fix polarity of mute LED on HP Mini 210
    ALSA: es1688 - freeup resources on init failure
    ALSA: hda - Workaround for silent output on VAIO Z with ALC889
    ALSA: hda - Fix WARNING from HDMI/DP parser
    ALSA: hda - Detach from converter at closing in patch_hdmi.c
    ALSA: hda - Fix mute-LED GPIO setup for HP Mini 210
    ALSA: mpu401: Fix missing initialization of irq field
    ALSA: hda - Fix invalid D3 of headphone DAC on VT202x codecs

    Linus Torvalds
     

31 Jul, 2012

1 commit


29 Jul, 2012

1 commit

  • On recent kernels, Realtek codec parser tries to optimize the routing
    aggressively and take the headphone output as primary at first. This
    caused a regression on VAIO Z with ALC889, the silent output from the
    speaker.

    The problem seems that the speaker pin must be connected to the first
    DAC (0x02) on this machine by some reason although the codec itself
    advertises the flexible routing with any DACs.

    This patch adds a fix-up for choosing the speaker pin as the primary
    so that the right DAC is assigned on this device.

    Reported-and-tested-by: Adam Williamson
    Signed-off-by: Takashi Iwai

    Takashi Iwai
     

25 Jul, 2012

1 commit

  • Pull sound update from Takashi Iwai:
    "This is a fairly quiet release in all sound area. Only a little bit
    of changes in the core side while most of changes are seen in the
    drivers.

    HD-audio:
    - A few new codec additions for Nvidia, Realtek and VIA
    - Intel Haswell audio support
    - Support for "phantom" jacks for consistent jack reporting
    - Major clean-ups in HDMI/DP driver codes
    - A workaround for inverted digital-mic pins with Realtek codecs
    - Removal of beep_mode=2 option

    ASoC:
    - Added the ability to add and remove DAPM paths dynamically, mostly
    for reparenting on clock changes
    - New machine drivers for Marvell Brownstone, ST-Ericsson Ux500
    reference platform and ttc-dkp
    - New CPU drivers for Blackfin BF6xx SPORTs in I2S mode, Marvell MMP,
    Synopsis Designware I2S controllers, and SPEAr DMA and S/PDIF
    - New CODEC drivers for Dialog DA732x, ST STA529, ST-Ericsson AB8500,
    TI Isabelle and Wolfson Microelectronics WM5102 and WM5110
    - DAPM fixes for the recent locking changes
    - Fix for _PRE and _POST widgets (which have been broken for a few
    releases now)
    - A couple of minor driver updates

    Misc
    - Conversion to new dev_pm_ops in platform and PCI drivers
    - LTC support and some fixes in PCXHR driver
    - A few fixes and PM support for ISA OPti9xx and WSS cards
    - Some TLV code cleanup
    - Move driver-specific headers from include/sound to local dirs"

    * tag 'sound-3.6' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (212 commits)
    ASoC: dapm: Fix _PRE and _POST events for DAPM performance improvements
    ALSA: hda - add dock support for Thinkpad X230 Tablet
    ALSA: hda - Turn on PIN_OUT from hdmi playback prepare.
    ASoC imx-audmux: add MX31_AUDMUX_PORT7_SSI_PINS_7 define
    ASoC: littlemill: Add userspace control of the WM1250 I/O
    ASoC: wm8994: Update micdet for irqdomain conversion
    ALSA: hda - make sure alc268 does not OOPS on codec parse
    ALSA: hda - Add support for Realtek ALC282
    ALSA: hda - Fix index number conflicts of phantom jacks
    ALSA: opti9xx: Fix section mismatch by PM support
    ALSA: snd-opti9xx: Implement suspend/resume
    ALSA: hda - Add new GPU codec ID to snd-hda
    ALSA: hda - Fix driver type of Haswell controller to AZX_DRIVER_SCH
    ALSA: hda - add Haswell HDMI codec id
    ALSA: hda - Add DeviceID for Haswell HDA
    ALSA: wss_lib: Fix resume on Yamaha OPL3-SAx
    ALSA: wss_lib: fix suspend/resume
    ALSA: es1938: replace TLV_DB_RANGE_HEAD with DECLARE_TLV_DB_RANGE
    ALSA: tlv: add DECLARE_TLV_DB_RANGE()
    ALSA: tlv: add DECLARE_TLV_CONTAINER()
    ...

    Linus Torvalds
     

21 Jul, 2012

1 commit

  • This patch simply adds a newline character at end-of-file to those
    files in Documentation/ that currently lack one.

    This is done for a few different reasons:

    A) It's rather annoying when you do "cat some_file.txt" that your
    prompt/cursor ends up at the end of the last line of output rather
    than on a new line.

    B) Some tools that process files line-by-line may get confused by the
    lack of a newline on the last line.

    C) The "\ No newline at end of file" line in diffs annoys me for some
    reason.

    So, let's just add the missing newline once and for all.

    Signed-off-by: Jesper Juhl
    Signed-off-by: Jiri Kosina

    Jesper Juhl
     

20 Jul, 2012

1 commit

  • Also add a model/fixup string "lenovo-dock", so that other Thinkpad
    users will be able to test this fixup easily, to see if it enables
    dock I/O for them as well.

    Cc: stable@kernel.org
    BugLink: https://bugs.launchpad.net/bugs/1026953
    Tested-by: John McCarron
    Signed-off-by: David Henningsson
    Signed-off-by: Takashi Iwai

    David Henningsson
     

04 Jul, 2012

2 commits

  • Takashi Iwai
     
  • The beep_mode=2 option was introduced to make the beep mixer
    controlling the beep input allocation/deallocation dynamically, so
    that a user can switch between HD-audio codec digital beep and the
    system beep only via mixer API. This was necessary because the
    keyboard driver took only the first input beep instance at that time.

    However, the recent keyboard driver already processes the multiple
    input instances, thus there is no point to keep this mode.

    Let's remove it.

    Acked-by: Jaroslav Kysela
    Signed-off-by: Takashi Iwai

    Takashi Iwai
     

25 Jun, 2012

1 commit


24 May, 2012

1 commit

  • Pull sound updates from Takashi Iwai:
    "This is the first big chunk for 3.5 merges of sound stuff.

    There are a few big changes in different areas. First off, the
    streaming logic of USB-audio endpoints has been largely rewritten for
    the better support of "implicit feedback". If anything about USB got
    broken, this change has to be checked.

    For HD-audio, the resume procedure was changed; instead of delaying
    the resume of the hardware until the first use, now waking up
    immediately at resume. This is for buggy BIOS.

    For ASoC, dynamic PCM support and the improved support for digital
    links between off-SoC devices are major framework changes.

    Some highlights are below:

    * HD-audio
    - Avoid accesses of invalid pin-control bits that may stall the codec
    - V-ref setup cleanups
    - Fix the races in power-saving code
    - Fix the races in codec cache hashes and connection lists
    - Split some common codes for BIOS auto-parser to hda_auto_parser.c
    - Changed the PM resume code to wake up immediately for buggy BIOS
    - Creative SoundCore3D support
    - Add Conexant CX20751/2/3/4 codec support

    * ASoC
    - Dynamic PCM support, allowing support for SoCs with internal
    routing through components with tight sequencing and formatting
    constraints within their internal paths or where there are multiple
    components connected with CPU managed DMA controllers inside the
    SoC.
    - Greatly improved support for direct digital links between off-SoC
    devices, providing a much simpler way of connecting things like
    digital basebands to CODECs.
    - Much more fine grained and robust locking, cleaning up some of the
    confusion that crept in with multi-component.
    - CPU support for nVidia Tegra 30 I2S and audio hub controllers and
    ST-Ericsson MSP I2S controolers
    - New CODEC drivers for Cirrus CS42L52, LAPIS Semiconductor ML26124,
    Texas Instruments LM49453.
    - Some regmap changes needed by the Tegra I2S driver.
    - mc13783 audio support.

    * Misc
    - Rewrite with module_pci_driver()
    - Xonar DGX support for snd-oxygen
    - Improvement of packet handling in snd-firewire driver
    - New USB-endpoint streaming logic
    - Enhanced M-audio FTU quirks and relevant cleanups
    - Increment the support of OSS devices to 256
    - snd-aloop accuracy improvement

    There are a few more pending changes for 3.5, but they will be sent
    slightly later as partly depending on the changes of DRM."

    Fix up conflicts in regmap (due to duplicate patches, with some further
    updates then having already come in from the regmap tree). Also some
    fairly trivial context conflicts in the imx and mcx soc drivers.

    * tag 'sound-3.5' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (280 commits)
    ALSA: snd-usb: fix stream info output in /proc
    ALSA: pcm - Add proper state checks to snd_pcm_drain()
    ALSA: sh: Fix up namespace collision in sh_dac_audio.
    ALSA: hda/realtek - Fix unused variable compile warning
    ASoC: sh: fsi: enable chip specific data transfer mode
    ASoC: sh: fsi: call fsi_hw_startup/shutdown from fsi_dai_trigger()
    ASoC: sh: fsi: use same format for IN/OUT
    ASoC: sh: fsi: add fsi_version() and removed meaningless version check
    ASoC: sh: fsi: use register field macro name on IN/OUT_DMAC
    ASoC: tegra: Add machine driver for WM8753 codec
    ALSA: hda - Fix possible races of accesses to connection list array
    ASoC: OMAP: HDMI: Introduce codec
    ARM: mx31_3ds: Add sound support
    ASoC: imx-mc13783 cleanup
    mx31moboard: Add sound support
    ASoC: mc13783 codec cleanups
    ASoC: add imx-mc13783 sound support
    ASoC: Add mc13783 codec
    mfd: mc13xxx: add codec platform data
    ASoC: don't flip master of DT-instantiated DAI links
    ...

    Linus Torvalds
     

23 May, 2012

1 commit

  • Pull trivial updates from Jiri Kosina:
    "As usual, it's mostly typo fixes, redundant code elimination and some
    documentation updates."

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (57 commits)
    edac, mips: don't change code that has been removed in edac/mips tree
    xtensa: Change mail addresses of Hannes Weiner and Oskar Schirmer
    lib: Change mail address of Oskar Schirmer
    net: Change mail address of Oskar Schirmer
    arm/m68k: Change mail address of Sebastian Hess
    i2c: Change mail address of Oskar Schirmer
    net: Fix tcp_build_and_update_options comment in struct tcp_sock
    atomic64_32.h: fix parameter naming mismatch
    Kconfig: replace "--- help ---" with "---help---"
    c2port: fix bogus Kconfig "default no"
    edac: Fix spelling errors.
    qla1280: Remove redundant NULL check before release_firmware() call
    remoteproc: remove redundant NULL check before release_firmware()
    qla2xxx: Remove redundant NULL check before release_firmware() call.
    aic94xx: Get rid of redundant NULL check before release_firmware() call
    tehuti: delete redundant NULL check before release_firmware()
    qlogic: get rid of a redundant test for NULL before call to release_firmware()
    bna: remove redundant NULL test before release_firmware()
    tg3: remove redundant NULL test before release_firmware() call
    typhoon: get rid of redundant conditional before all to release_firmware()
    ...

    Linus Torvalds
     

21 May, 2012

1 commit


05 May, 2012

1 commit


16 Apr, 2012

1 commit


11 Apr, 2012

1 commit


09 Apr, 2012

1 commit


31 Mar, 2012

2 commits

  • Install commands should not be used to specify soft dependencies among
    modules. When loading modules it's much better to have a softdep that
    modprobe knows what's being done than having to fork/exec another
    instance of modprobe to load the other module.

    By using a softdep user has also an option to remove the dependencies
    when removing the module (and if its refcount dropped to 0)

    Signed-off-by: Lucas De Marchi
    Signed-off-by: Linus Torvalds

    Lucas De Marchi
     
  • Usage of /etc/modprobe.conf file was deprecated by module-init-tools and
    is no longer parsed by new kmod tool. References to this file are
    replaced in Documentation, comments and Kconfig according to the
    context.

    There are also some references to the old /etc/modules.conf from 2.4
    kernels that are being removed.

    Signed-off-by: Lucas De Marchi
    Acked-by: Takashi Iwai
    Acked-by: Mauro Carvalho Chehab
    Signed-off-by: Randy Dunlap
    Signed-off-by: Linus Torvalds

    Lucas De Marchi
     

28 Mar, 2012

1 commit


23 Mar, 2012

1 commit

  • Pull updates of sound stuff from Takashi Iwai:
    "Here is the first big update chunk of sound stuff for 3.4-rc1.

    In the common sound infrastructure, there are a few changes for
    dynamic PCM support (used in ASoC) and a few clean-ups. Majority of
    changes are found, as usual, in HD-audio and ASoC.

    Some highlights of HD-audio changes:

    - All the long-standing static quirk codes for Realtek codec were
    finally removed by fixing and extending the Realtek auto-parser.

    - The mute-LED control is standardized over all HD-audio codec
    drivers using the extended vmaster hook.

    - The vmaster slave mixer elements are initialized to 0dB as default
    so that the user won't be annoyed by the silent output after
    updates, e.g. due to the additions of new elements.

    - Other many fix-ups for the misc HD-audio devices.

    In the ASoC side, this is a very active release, including a quite a
    few framework enhancements. Some highlights:

    - Support for widgets not associated with a CODEC, an important part
    of the dynamic PCM framework.

    - A library factoring out the common code shared by dmaengine based
    DMA drivers contributed by Lars-Peter Clausen. This will save a
    lot of code and make it much easier to deploy enhancements to
    dmaengine.

    - Support for binary controls, used for providing runtime
    configuration of algorithm coefficients.

    - A new DAPM widget type for regulator supplies allowing drivers for
    devices that can power down unused supplies while active to do
    without any per-driver code.

    - DAPM widgets for DAIs, initially giving a speed boost for playback
    startup and shutdown and also the basis for CODECCODEC DAI link
    support.

    - Support for specifying the number of significant bits on audio
    interfaces, useful for allowing applications to know how much
    effort to put into generating data for a larger sample format.

    - Conversion of the FSI driver used on some SH processors to
    DMAEngine.

    - Conversion of EP93xx drivers to DMAEngine.

    - New CODEC drivers for Maxim MAX9768 and Wolfson Microelectronics
    WM2200.

    - Move audmux driver from arc/arm to sound/soc

    - McBSP move from arch/ to sound/ and updates

    Also, a few small updates and fixes for other drivers like au88x0,
    ymfpci, USB 6fire, USB usx2yaudio are included."

    * tag 'sound-3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (446 commits)
    ASoC: wm8994: Provide VMID mode control and fix default sequence
    ASoC: wm8994: Add missing break in resume
    ASoC: wm_hubs: Don't actively manage LINEOUT_VMID_BUF
    ASoC: pxa-ssp: atomically set stream active masks
    ASoC: fsl: p1022ds: tell the WM8776 codec driver that it's the master
    ASoC: Samsung: Added to support mono recording
    ALSA: hda - Fix build with CONFIG_PM=n
    ALSA: au88x0 - Avoid possible Oops at unbinding
    ALSA: usb-audio - Fix build error by consitification of rate list
    ASoC: core: Fix obscure leak of runtime array
    ALSA: pcm - Avoid GFP_ATOMIC in snd_pcm_link()
    ALSA: pcm: Constify the list in snd_pcm_hw_constraint_list
    ASoC: wm8996: Add 44.1kHz support
    ALSA: hda - Fix build of patch_sigmatel.c without CONFIG_SND_HDA_POWER_SAVE
    ASoC: mx27vis-aic32x4: Convert it to platform driver
    ALSA: hda - fix printing of high HDMI sample rates
    ALSA: ymfpci - Fix legacy registers on S3/S4 resume
    ALSA: control - Fixe a trailing white space error
    ALSA: hda - Add expose_enum_ctl flag to snd_hda_add_vmaster_hook()
    ALSA: hda - Add "Mute-LED Mode" enum control
    ...

    Linus Torvalds
     

07 Mar, 2012

1 commit


28 Feb, 2012

1 commit


21 Feb, 2012

7 commits


20 Feb, 2012

1 commit


18 Feb, 2012

3 commits


17 Feb, 2012

1 commit