24 Jul, 2020

1 commit


27 Mar, 2020

1 commit


12 Dec, 2019

2 commits

  • Clean up the driver with the new managed buffer allocation API.
    The superfluous snd_pcm_lib_malloc_pages() and
    snd_pcm_lib_free_pages() calls are dropped.

    Cc: Max Filippov
    Signed-off-by: Takashi Iwai
    Link: https://lore.kernel.org/r/20191210142614.19405-17-tiwai@suse.de
    Signed-off-by: Mark Brown

    Takashi Iwai
     
  • ASoC PCM core deals the empty ioctl field now as default.
    Let's kill the redundant lines.

    Cc: Max Filippov
    Signed-off-by: Takashi Iwai
    Link: https://lore.kernel.org/r/20191210145406.21419-22-tiwai@suse.de
    Signed-off-by: Mark Brown

    Takashi Iwai
     

08 Oct, 2019

1 commit


02 Aug, 2019

1 commit

  • We don't need dev_err() messages when platform_get_irq() fails now that
    platform_get_irq() prints an error message itself when something goes
    wrong. Let's remove these prints with a simple semantic patch.

    //
    @@
    expression ret;
    struct platform_device *E;
    @@

    ret =
    (
    platform_get_irq(E, ...)
    |
    platform_get_irq_byname(E, ...)
    );

    if ( \( ret < 0 \| ret

    While we're here, remove braces on if statements that only have one
    statement (manually).

    Cc: Liam Girdwood
    Cc: Mark Brown
    Cc: Jaroslav Kysela
    Cc: Takashi Iwai
    Cc: alsa-devel@alsa-project.org
    Cc: Greg Kroah-Hartman
    Signed-off-by: Stephen Boyd
    Link: https://lore.kernel.org/r/20190730181557.90391-50-swboyd@chromium.org
    Signed-off-by: Mark Brown

    Stephen Boyd
     

31 Jul, 2019

1 commit


19 Jun, 2019

1 commit

  • Based on 2 normalized pattern(s):

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license version 2 as
    published by the free software foundation

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license version 2 as
    published by the free software foundation #

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-only

    has been chosen to replace the boilerplate/reference in 4122 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Enrico Weigelt
    Reviewed-by: Kate Stewart
    Reviewed-by: Allison Randal
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190604081206.933168790@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     

21 May, 2019

1 commit


07 Feb, 2019

1 commit


12 Feb, 2018

1 commit


25 Oct, 2017

1 commit

  • …READ_ONCE()/WRITE_ONCE()

    Please do not apply this to mainline directly, instead please re-run the
    coccinelle script shown below and apply its output.

    For several reasons, it is desirable to use {READ,WRITE}_ONCE() in
    preference to ACCESS_ONCE(), and new code is expected to use one of the
    former. So far, there's been no reason to change most existing uses of
    ACCESS_ONCE(), as these aren't harmful, and changing them results in
    churn.

    However, for some features, the read/write distinction is critical to
    correct operation. To distinguish these cases, separate read/write
    accessors must be used. This patch migrates (most) remaining
    ACCESS_ONCE() instances to {READ,WRITE}_ONCE(), using the following
    coccinelle script:

    ----
    // Convert trivial ACCESS_ONCE() uses to equivalent READ_ONCE() and
    // WRITE_ONCE()

    // $ make coccicheck COCCI=/home/mark/once.cocci SPFLAGS="--include-headers" MODE=patch

    virtual patch

    @ depends on patch @
    expression E1, E2;
    @@

    - ACCESS_ONCE(E1) = E2
    + WRITE_ONCE(E1, E2)

    @ depends on patch @
    expression E;
    @@

    - ACCESS_ONCE(E)
    + READ_ONCE(E)
    ----

    Signed-off-by: Mark Rutland <mark.rutland@arm.com>
    Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
    Cc: Linus Torvalds <torvalds@linux-foundation.org>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: davem@davemloft.net
    Cc: linux-arch@vger.kernel.org
    Cc: mpe@ellerman.id.au
    Cc: shuah@kernel.org
    Cc: snitzer@redhat.com
    Cc: thor.thayer@linux.intel.com
    Cc: tj@kernel.org
    Cc: viro@zeniv.linux.org.uk
    Cc: will.deacon@arm.com
    Link: http://lkml.kernel.org/r/1508792849-3115-19-git-send-email-paulmck@linux.vnet.ibm.com
    Signed-off-by: Ingo Molnar <mingo@kernel.org>

    Mark Rutland
     

29 Jul, 2015

1 commit

  • tx_substeam is accessed using the RCU API and hence should have the __rcu
    annotation. Fixes the following sparse warnings:

    sound/soc/xtensa/xtfpga-i2s.c:165:24: error: incompatible types in
    comparison expression (different address spaces)
    sound/soc/xtensa/xtfpga-i2s.c:165:24: error: 'struct snd_pcm_substream
    [noderef] *' versus
    sound/soc/xtensa/xtfpga-i2s.c:165:24: error: 'struct snd_pcm_substream *'
    sound/soc/xtensa/xtfpga-i2s.c:255:24: error: incompatible types in
    comparison expression (different address spaces)
    sound/soc/xtensa/xtfpga-i2s.c:255:24: error: 'struct snd_pcm_substream
    [noderef] *' versus
    sound/soc/xtensa/xtfpga-i2s.c:255:24: error: 'struct snd_pcm_substream *'

    Signed-off-by: Lars-Peter Clausen
    Acked-by: Max Filippov
    Signed-off-by: Mark Brown

    Lars-Peter Clausen
     

24 Jul, 2015

1 commit


09 Jan, 2015

1 commit

  • XTFPGA boards provides an audio subsystem that consists of TI CDCE706
    clock synthesizer, I2S transmitter and TLV320AIC23 audio codec.

    I2S transmitter has MMIO-based interface that resembles that of the
    OpenCores I2S transmitter. I2S transmitter is always a master on I2S
    bus. There's no specialized audio DMA, sample data are transferred to
    I2S transmitter FIFO by CPU through memory-mapped queue interface.

    Signed-off-by: Max Filippov
    Signed-off-by: Mark Brown

    Max Filippov