11 Apr, 2016

1 commit

  • The 'size' member of a struct firmware is passed to snd_printk with a
    respective format string using the %d identifier. The 'size' member is
    of type size_t, but format identifier %d indicates a signed int data
    type. This patch replaces the %d format identifier with the correct %zu
    format identifier for size_t data types.

    Signed-off-by: William Breathitt Gray
    Signed-off-by: Takashi Iwai

    William Breathitt Gray
     

28 Jan, 2015

1 commit

  • The soundscape driver uses the ISA inb/outb functions declared
    in linux/io.h, so it needs to include this header to avoid
    a build error:

    sscape.c: In function 'sscape_write_unsafe':
    sscape.c:203:2: error: implicit declaration of function 'outb' [-Werror=implicit-function-declaration]

    Signed-off-by: Arnd Bergmann
    Signed-off-by: Takashi Iwai

    Arnd Bergmann
     

02 Jan, 2015

1 commit

  • Most callers of snd_wss_pcm(), snd_wss_timer() and snd_cs4236_pcm() pass
    NULL as the last parameter, some callers pass a pointer but never use it
    after the function has been called and only a few callers pass a pointer and
    actually use it. The later is only the case for snd_wss_pcm() for
    snd_cs4236_pcm() and it is possible to get the same PCM object by accessing
    the pcm field of the snd_wss struct that was passed as the first parameter.

    This function removes the last parameters from the functions mentioned above
    and updates the callers which used it to use chip->pcm instead. This allows
    us to slightly simplify the functions since they don't have to check and set
    the last parameter anymore which makes the code slightly shorter and
    cleaner.

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

    Lars-Peter Clausen
     

12 Feb, 2014

1 commit


29 May, 2013

1 commit


07 Dec, 2012

1 commit

  • CONFIG_HOTPLUG is going away as an option. As result the __dev*
    markings will be going away.

    Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst,
    and __devexit.

    Signed-off-by: Bill Pemberton
    Signed-off-by: Takashi Iwai

    Bill Pemberton
     

10 Apr, 2012

1 commit


01 Nov, 2011

1 commit


14 Sep, 2011

1 commit

  • The semantics of snd_mpu401_uart_new()'s interrupt parameters are
    somewhat counterintuitive: To prevent the function from allocating its
    own interrupt, either the irq number must be invalid, or the irq_flags
    parameter must be zero. At the same time, the irq parameter being
    invalid specifies that the mpu401 code has to work without an interrupt
    allocated by the caller. This implies that, if there is an interrupt
    and it is allocated by the caller, the irq parameter must be set to
    a valid-looking number which then isn't actually used.

    With the removal of IRQF_DISABLED, zero becomes a valid irq_flags value,
    which forces us to handle the parameters differently.

    This patch introduces a new flag MPU401_INFO_IRQ_HOOK for when the
    device interrupt is handled by the caller, and makes the allocation of
    the interrupt to depend only on the irq parameter. As suggested by
    Takashi, the irq_flags parameter was dropped because, when used, it had
    the constant value IRQF_DISABLED.

    Signed-off-by: Clemens Ladisch
    Signed-off-by: Takashi Iwai

    Clemens Ladisch
     

10 Oct, 2009

1 commit


06 Oct, 2009

2 commits


04 Oct, 2009

1 commit


01 Oct, 2009

1 commit


28 Sep, 2009

1 commit


24 Mar, 2009

1 commit


05 Feb, 2009

1 commit

  • The wss_base is disuised parameter for one function.
    It is converted to function parameter.

    The code_type is only set but never read.
    It is removed.

    The midi_vol is set only to 0 so it does not work
    as detection of change in midi volume. It is fixed.

    The xport variable is alias to the port[dev]. Use
    the port[dev] directly to increase readability.

    Signed-off-by: Krzysztof Helt
    Signed-off-by: Takashi Iwai

    Krzysztof Helt
     

21 Jan, 2009

1 commit


13 Jan, 2009

1 commit


12 Jan, 2009

1 commit


11 Jan, 2009

1 commit


06 Aug, 2008

2 commits


01 Feb, 2008

1 commit

  • This header file exists only for some hacks to adapt alsa-driver
    tree. It's useless for building in the kernel. Let's move a few
    lines in it to sound/core.h and remove it.
    With this patch, sound/driver.h isn't removed but has just a single
    compile warning to include it. This should be really killed in
    future.

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

    Takashi Iwai
     

16 Oct, 2007

3 commits

  • Fix schedule_timeout() use in alsa-kernel. Mostly just
    schedule_timeout(1) --> schedule_timeout_uninterruptible(1)
    The wavefront_synth one fixes the surrounding loop as well. In ymfpci_main,
    delete a superfluous set_current_state() and in soc/soc-dapm.c replace an
    _interruptible with _uninterruptible in some debug code; it's not waiting
    for signals.

    Signed-off-by: Rene Herman
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Rene Herman
     
  • This patch adds support for audio part of the Ensoniq
    SoundScape VIVO cards. The MIDI part is not supported.

    Signed-off-by: Krzysztof Helt
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Krzysztof Helt
     
  • This patch adds second DMA channel and WSS port settings
    to the sscape driver. Also, it adds internal card type setting.
    The Ensoniq SoundScape VIVO PnP id is added but not handled
    yet.

    Signed-off-by: Krzysztof Helt
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Krzysztof Helt
     

20 Jul, 2007

1 commit


16 May, 2007

1 commit


11 May, 2007

2 commits


03 Jul, 2006

1 commit


23 Jun, 2006

1 commit


12 Apr, 2006

2 commits


28 Mar, 2006

1 commit


22 Jan, 2006

1 commit


03 Jan, 2006

3 commits