01 Mar, 2016

3 commits


23 Oct, 2015

1 commit


21 Oct, 2015

1 commit

  • Use the new snd_pcm_hw_constraint_single() helper function instead of
    calling snd_pcm_hw_constraint_minmax() with the same value for min and max
    to install a constraint that limits the possible configuration values to a
    single value. Using snd_pcm_hw_constraint_single() makes the indented
    result clearer.

    Signed-off-by: Lars-Peter Clausen
    Signed-off-by: Takashi Iwai

    Lars-Peter Clausen
     

11 Sep, 2015

1 commit


22 Aug, 2015

1 commit

  • card->shortname is a 32 char string so the sprintf() can theoretically
    overflow. snd_rawmidi_new() can accept strings up to 64 bytes long.

    I have made the temporay buf[] array 40 bytes long and changed the
    sprintf() to snprintf().

    Signed-off-by: Dan Carpenter
    Signed-off-by: Takashi Iwai

    Dan Carpenter
     

21 Aug, 2015

1 commit

  • I believe this probably cannot happen, as the code suggests. There
    would have to be an kcontrol->index.id which was zero, otherwise this
    would be prevented in snd_ctl_find_id(). But snd_BUG_ON() is just a
    WARN() or a no-op so static checkers complain that we keep on going with
    a negative offset. Let's just handle the error as well as printing
    a warning.

    Signed-off-by: Dan Carpenter
    Signed-off-by: Takashi Iwai

    Dan Carpenter
     

17 Feb, 2015

3 commits


14 Feb, 2015

1 commit

  • RME RayDAT and AIO use a fixed buffer size of 16384 samples. With period
    sizes of 32-4096, this translates to 4-512 periods.

    The older RME cards have a variable buffer size but require exactly two
    periods.

    This patch enforces nperiods=2 on those cards.

    Signed-off-by: Adrian Knoth
    Cc: # 2.6.39+
    Signed-off-by: Takashi Iwai

    Adrian Knoth
     

28 Jan, 2015

1 commit


19 Jan, 2015

2 commits


04 Jan, 2015

1 commit


17 Nov, 2014

1 commit


11 Nov, 2014

1 commit


29 Oct, 2014

1 commit


21 Oct, 2014

3 commits


13 Aug, 2014

1 commit

  • We should prefer `struct pci_device_id` over `DEFINE_PCI_DEVICE_TABLE` to
    meet kernel coding style guidelines. This issue was reported by checkpatch.

    A simplified version of the semantic patch that makes this change is as
    follows (http://coccinelle.lip6.fr/):

    //

    @@
    identifier i;
    declarer name DEFINE_PCI_DEVICE_TABLE;
    initializer z;
    @@

    - DEFINE_PCI_DEVICE_TABLE(i)
    + const struct pci_device_id i[]
    = z;

    //

    [bhelgaas: add semantic patch]
    Signed-off-by: Benoit Taine
    Signed-off-by: Bjorn Helgaas

    Benoit Taine
     

26 Feb, 2014

3 commits


12 Feb, 2014

1 commit


09 Jan, 2014

1 commit

  • Nowadays we have CMA for obtaining the contiguous memory pages
    efficiently. Let's kill the old kludge for reserving the memory pages
    for large buffers. It was rarely useful (only for preserving pages
    among module reloading or a little help by an early boot scripting),
    used only by a couple of drivers, and yet it gives too much ugliness
    than its benefit.

    Signed-off-by: Takashi Iwai

    Takashi Iwai
     

05 Jan, 2014

1 commit


29 Oct, 2013

1 commit


25 Oct, 2013

1 commit

  • ASoC: Updates for v3.13

    - Further work on the dmaengine helpers, including support for
    configuring the parameters for DMA by reading the capabilities of the
    DMA controller which removes some guesswork and magic numbers fromm
    drivers.
    - A refresh of the documentation.
    - Conversions of many drivers to direct regmap API usage in order to
    allow the ASoC level register I/O code to be removed, this will
    hopefully be completed by v3.14.
    - Support for using async register I/O in DAPM, reducing the time taken
    to implement power transitions on systems that support it.

    Takashi Iwai
     

16 Oct, 2013

1 commit


13 Sep, 2013

1 commit


20 Aug, 2013

2 commits


15 Jul, 2013

1 commit


05 Jul, 2013

4 commits