09 Aug, 2012

1 commit

  • Pull sound fixes from Takashi Iwai:
    "Containing only a few really small/trivial fixes. The only urgent fix
    is a regression fix of HDMI codec probing, introduced in 3.6-rc1. The
    rest are HD-audio specific fixes and a copule of minor bug fixes in
    PCM core and the old emu10k1."

    * tag 'sound-3.6' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
    ALSA: hda - Fix double quirk for Quanta FL1 / Lenovo Ideapad
    ALSA: hda - Fix ugly debug prints with CONFIG_SND_VERBOSE_PRINTK=y
    ALSA: hda - remove redundant auto quirks for conexant 506x
    ALSA: hda - remove quirk for Dell Vostro 1015
    ALSA: hda - add dock support for Thinkpad X230
    ALSA: hda - Fix regression of HDMI codec probing
    ALSA: hda - add dock support for Thinkpad T430s
    ALSA: emu10k1: Avoid access to invalid pages when period=1
    ALSA: PCM: Fix possible memory leaks in the error path

    Linus Torvalds
     

03 Aug, 2012

1 commit


31 Jul, 2012

1 commit


18 Jul, 2012

1 commit


05 Jul, 2012

1 commit


18 Jun, 2012

1 commit


12 Jun, 2012

2 commits


23 May, 2012

1 commit


21 May, 2012

2 commits


12 May, 2012

1 commit

  • In the PCM read/write loop, the driver calls snd_pcm_update_hw_ptr()
    at each time at the beginning of the loop. Russell King reported that
    this hogs CPU significantly.

    The current code assumes that the pointer callback is very fast and
    cheap, also not too much fine grained. It's not true in all cases.
    When the pointer advances short samples while the read/write copy has
    been performed, the driver updates the hw_ptr and gets avail > 0
    again. Then it tries to read/write these small chunks. This repeats
    until the avail really gets to zero.

    For avoiding this situation, a simple workaround is to call
    snd_pcm_update_hw_ptr() only once at starting the loop, assuming that
    the read/write copy is performed fast enough. If the available count
    becomes short, it goes to snd_pcm_wait_avail() anyway, and this
    processes right.

    Tested-by: Russell King
    Signed-off-by: Takashi Iwai

    Takashi Iwai
     

08 May, 2012

2 commits


18 Apr, 2012

1 commit


31 Mar, 2012

1 commit

  • 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
     

25 Mar, 2012

1 commit

  • Pull avoidance patches from Paul Gortmaker:
    "Nearly every subsystem has some kind of header with a proto like:

    void foo(struct device *dev);

    and yet there is no reason for most of these guys to care about the
    sub fields within the device struct. This allows us to significantly
    reduce the scope of headers including headers. For this instance, a
    reduction of about 40% is achieved by replacing the include with the
    simple fact that the device is some kind of a struct.

    Unlike the much larger module.h cleanup, this one is simply two
    commits. One to fix the implicit users, and then one
    to delete the device.h includes from the linux/include/ dir wherever
    possible."

    * tag 'device-for-3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux:
    device.h: audit and cleanup users in main include dir
    device.h: cleanup users outside of linux/include (C files)

    Linus Torvalds
     

19 Mar, 2012

3 commits


15 Mar, 2012

2 commits


13 Mar, 2012

1 commit


12 Mar, 2012

2 commits

  • This patch adds a hook to vmaster control to be called at each time
    when the master value is changed. It'd be handy for an additional
    mute LED control following the Master switch, for example.

    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • For files that are actively using linux/device.h, make sure
    that they call it out. This will allow us to clean up some
    of the implicit uses of linux/device.h within include/*
    without introducing build regressions.

    Yes, this was created by "cheating" -- i.e. the headers were
    cleaned up, and then the fallout was found and fixed, and then
    the two commits were reordered. This ensures we don't introduce
    build regressions into the git history.

    Signed-off-by: Paul Gortmaker

    Paul Gortmaker
     

10 Mar, 2012

1 commit


28 Feb, 2012

1 commit


20 Feb, 2012

1 commit


09 Feb, 2012

1 commit

  • The new ASoC dynamic PCM core needs to create PCMs and substreams that are
    for use by internal ASoC drivers only and not visible to userspace for
    direct IO. These new PCMs are similar to regular PCMs expect they have no
    device nodes or procfs entries. The ASoC component drivers use them in exactly
    the same way as regular PCMs for PCM and DAI operations.

    The intention is that a dynamic PCM based driver will register both regular
    PCMs and internal PCMs. The regular PCMs will be used for all IO with userspace
    however the internal PCMs will be used by the driver to route digital audio
    through numerous back end DAI links (with potentially a DSP providing different
    hw_params, DAI formats based on the regular front end PCM params) to devices
    like CODECs, MODEMs, Bluetooth, FM, DMICs, etc

    This patch adds a new snd_pcm_new_internal() API call to create the internal PCM
    without device nodes or procfs. It also adds adds a new internal flag to snd_pcm.

    [fixed minor coding-style issues by tiwai]

    Signed-off-by: Liam Girdwood
    Signed-off-by: Takashi Iwai

    Liam Girdwood
     

31 Jan, 2012

1 commit


27 Jan, 2012

1 commit


24 Jan, 2012

1 commit


18 Jan, 2012

1 commit

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
    ALSA: virtuoso: Xonar DS: fix polarity of front output
    ALSA: Au88x0 - Reduce the number of playback subdevices of au8830 from 32 to 16
    ALSA: Au88x0 - Support 4 channels playback when AC97 codecs has SDAC bit
    ALSA: HDA: Fix internal microphone on Dell Studio 16 XPS 1645
    ALSA: Don't prompt for CONFIG_SND_COMPRESS_OFFLOAD
    ALSA: HDA: Use LPIB position fix for Macbook Pro 7,1

    Linus Torvalds
     

13 Jan, 2012

2 commits

  • CONFIG_SND_COMPRESS_OFFLOAD is an item to be selected by the dirver
    just like CONFIG_SND_PCM, and no need to prompt for explicit
    selection.

    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (526 commits)
    ASoC: twl6040 - Add method to query optimum PDM_DL1 gain
    ALSA: hda - Fix the lost power-setup of seconary pins after PM resume
    ALSA: usb-audio: add Yamaha MOX6/MOX8 support
    ALSA: virtuoso: add S/PDIF input support for all Xonars
    ALSA: ice1724 - Support for ooAoo SQ210a
    ALSA: ice1724 - Allow card info based on model only
    ALSA: ice1724 - Create capture pcm only for ADC-enabled configurations
    ALSA: hdspm - Provide unique driver id based on card serial
    ASoC: Dynamically allocate the rtd device for a non-empty release()
    ASoC: Fix recursive dependency due to select ATMEL_SSC in SND_ATMEL_SOC_SSC
    ALSA: hda - Fix the detection of "Loopback Mixing" control for VIA codecs
    ALSA: hda - Return the error from get_wcaps_type() for invalid NIDs
    ALSA: hda - Use auto-parser for HP laptops with cx20459 codec
    ALSA: asihpi - Fix potential Oops in snd_asihpi_cmode_info()
    ALSA: hdsp - Fix potential Oops in snd_hdsp_info_pref_sync_ref()
    ALSA: hda/cirrus - support for iMac12,2 model
    ASoC: cx20442: add bias control over a platform provided regulator
    ALSA: usb-audio - Avoid flood of frame-active debug messages
    ALSA: snd-usb-us122l: Delete calls to preempt_disable
    mfd: Put WM8994 into cache only mode when suspending
    ...

    Fix up trivial conflicts in:
    - arch/arm/mach-s3c64xx/mach-crag6410.c:
    renamed speyside_wm8962 to tobermory, added littlemill right
    next to it
    - drivers/base/regmap/{regcache.c,regmap.c}:
    duplicate diff that had already come in with other changes in
    the regmap tree

    Linus Torvalds
     

12 Jan, 2012

1 commit


23 Dec, 2011

3 commits


19 Dec, 2011

1 commit

  • module_param(bool) used to counter-intuitively take an int. In
    fddd5201 (mid-2009) we allowed bool or int/unsigned int using a messy
    trick.

    It's time to remove the int/unsigned int option. For this version
    it'll simply give a warning, but it'll break next kernel version.

    Signed-off-by: Rusty Russell
    Signed-off-by: Takashi Iwai

    Rusty Russell