03 Jan, 2006

24 commits


23 Dec, 2005

1 commit


16 Dec, 2005

1 commit

  • We have found some issues with Au1550 AC'97 OSS driver in 2.6
    (sound/oss/au1550_ac97.c), though it also should concern 2.4 driver
    (drivers/sound/au1550_psc.c).

    start_dac() grabs a spinlock already held by its caller, au1550_write().
    This doesn't show up with the standard UP spinlock impelmentation but when
    the different one (mutex based) is in use, a lockup happens.

    And the interrupt handlers also didn't grab the spinlock -- that's OK in
    the usual kernel but not when the IRQ handlers are threaded. So, they're
    grabbing the spinlock now (as every correct interrupt handler should do).

    Signed-off-by: Konstantin Baidarov
    Signed-off-by: Sergei Shtylyov
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Sergei Shtylylov
     

23 Nov, 2005

2 commits

  • Earlier I unifdefed PageCompound, so that snd_pcm_mmap_control_nopage and
    others can give out a 0-order component of a higher-order page, which won't
    be mistakenly freed when zap_pte_range unmaps it. But many Bad page states
    reported a PG_reserved was freed after all: I had missed that we need to
    say __GFP_COMP to get compound page behaviour.

    Some of these higher-order pages are allocated by snd_malloc_pages, some by
    snd_malloc_dev_pages; or if SBUS, by sbus_alloc_consistent - but that has
    no gfp arg, so add __GFP_COMP into its sparc32/64 implementations.

    I'm still rather puzzled that DRM seems not to need a similar change.

    Signed-off-by: Hugh Dickins
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Hugh Dickins
     
  • Something noticed when studying use of VM_RESERVED in different drivers:
    snd_usX2Y_hwdep_pcm_vm_nopage omitted to get_page: fixed.

    And how did this work before? Aargh! That nopage is returning a page from
    within a buffer allocated by snd_malloc_pages, which allocates a high-order
    page, then does SetPageReserved on each 0-order page within.

    That would have worked in 2.6.14, because when the area was unmapped,
    PageReserved inhibited put_page. 2.6.15-rc1 removed that inhibition (while
    leaving ineffective PageReserveds around for now), but it hasn't caused
    trouble because.. we've not been freeing from VM_RESERVED at all.

    Signed-off-by: Hugh Dickins
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Hugh Dickins
     

16 Nov, 2005

1 commit

  • ever since suspend to disk works I had the problem that headphone
    (un)plugging doesn't get detected properly anymore after the first
    resume.
    Reloading the module worked around this ever since, however the real
    cause of the problem was that after a resume the driver only got
    interrupts on "unplug" not on "plug". Reactivating the headphone status
    interrupt in tumbler_resume fixes this. This shouldn't cause
    any trouble with software suspend, but it would be nice if somebody
    could confirm this:

    Signed-off-by: Guido Guenther
    Signed-off-by: Benjamin Herrenschmidt
    Signed-off-by: Paul Mackerras

    Guido Guenther
     

14 Nov, 2005

1 commit


12 Nov, 2005

1 commit


11 Nov, 2005

2 commits


10 Nov, 2005

1 commit


09 Nov, 2005

3 commits

  • This patch removes almost all inclusions of linux/version.h. The 3
    #defines are unused in most of the touched files.

    A few drivers use the simple KERNEL_VERSION(a,b,c) macro, which is
    unfortunatly in linux/version.h.

    There are also lots of #ifdef for long obsolete kernels, this was not
    touched. In a few places, the linux/version.h include was move to where
    the LINUX_VERSION_CODE was used.

    quilt vi `find * -type f -name "*.[ch]"|xargs grep -El '(UTS_RELEASE|LINUX_VERSION_CODE|KERNEL_VERSION|linux/version.h)'|grep -Ev '(/(boot|coda|drm)/|~$)'`

    search pattern:
    /UTS_RELEASE\|LINUX_VERSION_CODE\|KERNEL_VERSION\|linux\/\(utsname\|version\).h

    Signed-off-by: Olaf Hering
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Olaf Hering
     
  • This patch schedules obsolete OSS drivers (with ALSA drivers that support
    the same hardware) for removal.

    Scheduling the via82cxxx driver for removal was ACK'ed by Jeff Garzik.

    Signed-off-by: Adrian Bunk
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Adrian Bunk
     
  • sound/drivers/vx/vx_hwdep.c: In function `free_fw':
    sound/drivers/vx/vx_hwdep.c:144: error: implicit declaration of function `vfree'
    sound/drivers/vx/vx_hwdep.c: In function `vx_hwdep_dsp_load':
    sound/drivers/vx/vx_hwdep.c:163: error: implicit declaration of function `vmalloc'

    Cc: Jaroslav Kysela
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Andrew Morton
     

08 Nov, 2005

3 commits