07 Jun, 2016

1 commit

  • System workqueues have been able to handle high level of concurrency
    for a long time now and there's no reason to use dedicated workqueues
    just to gain concurrency. Since aica_queue for AICA sound
    driver has workitem dreamcastcard->spu_dma_work (maps to run_spu_dma)
    which is involved in aica dma transfers and is not being used on a memory
    reclaim path, dedicated aica_queue has been replaced with the
    use of system_wq.

    Unlike a dedicated per-cpu workqueue created with create_workqueue(),
    system_wq allows multiple work items to overlap executions even on
    the same CPU; however, a per-cpu workqueue doesn't have any CPU
    locality or global ordering guarantees unless the target CPU is
    explicitly specified and thus the increase of local concurrency
    shouldn't make any difference.

    Since the work items could be pending, flush_work() has been used in
    snd_aicapcm_pcm_close() to ensure that there is no pending task while
    disconnecting the driver.

    Signed-off-by: Bhaktipriya Shridhar
    Signed-off-by: Takashi Iwai

    Bhaktipriya Shridhar
     

28 Jan, 2015

1 commit


19 Jan, 2015

1 commit


20 Oct, 2014

1 commit


14 Feb, 2014

1 commit


23 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
     

02 Jul, 2012

1 commit


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
     

01 Nov, 2011

1 commit


27 Oct, 2010

1 commit


08 Nov, 2009

1 commit


30 Mar, 2009

1 commit


12 Jan, 2009

1 commit


23 Sep, 2008

1 commit

  • Don't use __init but __devinit to define probe function. A pointer to
    snd_aica_probe is passed to the core via platform_driver_register and so the
    function must not disappear after the module is loaded. Using __init
    and having HOTPLUG=y and SND_AICA=m the following probably oopses:

    echo -n AICA > /sys/bus/platform/driver/AICA/unbind
    echo -n AICA > /sys/bus/platform/driver/AICA/bind

    Strange enough add_aicamixer_controls which is only called by
    snd_aica_probe was already using __devinit.

    While at it move the remove function to .devexit.text section.

    Signed-off-by: Uwe Kleine-König
    Cc: Adrian McMenamin
    Cc: Paul Mundt
    Cc: Jaroslav Kysela
    Cc: Andrew Morton
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Uwe Kleine-König
     

13 Aug, 2008

1 commit


29 Jul, 2008

1 commit

  • This follows the sparc changes a439fe51a1f8eb087c22dd24d69cebae4a3addac.

    Most of the moving about was done with Sam's directions at:

    http://marc.info/?l=linux-sh&m=121724823706062&w=2

    with subsequent hacking and fixups entirely my fault.

    Signed-off-by: Sam Ravnborg
    Signed-off-by: Paul Mundt

    Paul Mundt
     

29 Apr, 2008

1 commit

  • Some drivers have duplicated unlikely() macros. IS_ERR() already has
    unlikely() in itself.

    This patch cleans up such pointless code.

    Signed-off-by: Hirofumi Nakagawa
    Acked-by: David S. Miller
    Acked-by: Jeff Garzik
    Cc: Paul Clements
    Cc: Richard Purdie
    Cc: Alessandro Zummo
    Cc: David Brownell
    Cc: James Bottomley
    Cc: Michael Halcrow
    Cc: Anton Altaparmakov
    Cc: Al Viro
    Cc: Carsten Otte
    Cc: Patrick McHardy
    Cc: Paul Mundt
    Cc: Jaroslav Kysela
    Cc: Takashi Iwai
    Acked-by: Mike Frysinger
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Hirofumi Nakagawa
     

01 Feb, 2008

3 commits


23 Oct, 2007

1 commit

  • The G2 bus on the SEGA Dreamcast connects both the maple peripheral
    bus and the AICA sound memory. DMA requests on one can cause the other
    to timeout on memory operations.
    This patch prevents maple interrupts from causing hiccoughs in the
    AICA sound (maple bus code will land in 2.6.24).
    There are other cleanups for this (AICA) code - but this is in effect
    a regression fix rather than a cleanup.

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

    Adrian McMenamin
     

16 Oct, 2007

1 commit


20 Jul, 2007

2 commits