20 Sep, 2009

1 commit

  • This allows subsytems to provide devtmpfs with non-default permissions
    for the device node. Instead of the default mode of 0600, null, zero,
    random, urandom, full, tty, ptmx now have a mode of 0666, which allows
    non-privileged processes to access standard device nodes in case no
    other userspace process applies the expected permissions.

    This also fixes a wrong assignment in pktcdvd and a checkpatch.pl complain.

    Signed-off-by: Kay Sievers
    Signed-off-by: Greg Kroah-Hartman

    Kay Sievers
     

10 Aug, 2009

2 commits

  • If any OSS support is enabled, regardless of built-in or module,
    sound_core claims full OSS major number (that is, the old 0-255
    region) to trap open attempts and request sound modules using custom
    module aliases. This feature is redundant as chrdev already has such
    mechanism. This preemptive claiming prevents alternative OSS
    implementation.

    The custom module aliases are scheduled to be removed and the previous
    patch made soundcore emit the standard chrdev aliases too to help
    transition.

    This patch schedule the feature for removal in a year and makes it
    optional so that developers and distros can try new things in the
    meantime without rebuilding the kernel. The pre-claiming can be
    turned off by using SOUND_OSS_CORE_PRECLAIM and/or kernel parameter
    soundcore.preclaim_oss.

    As this allows sound minors to be individually grabbed by other users,
    this patch updates sound_insert_unit() such that if registering
    individual device region fails, it tries the next available slot.

    For details on removal plan, please read the entry added by this patch
    in feature-removal-schedule.txt .

    Signed-off-by: Tejun Heo
    Cc: Alan Cox
    Signed-off-by: Takashi Iwai

    Tejun Heo
     
  • Till now missing OSS devices emitted sound-slot/service-* module
    alises instead of the standard char-major-* if a missing device number
    is opened if soundcore is loaded. The custom module aliases don't
    have any inherent benefit than backward compatibility.

    sound-slot/service-* module aliases is scheduled to be removed and to
    help the transition this patch makes soundcore emit the standard
    module alises along with the custom ones.

    Signed-off-by: Tejun Heo
    Cc: Alan Cox
    Signed-off-by: Takashi Iwai

    Tejun Heo
     

04 Jul, 2009

1 commit


16 Jun, 2009

1 commit


15 Dec, 2008

1 commit


21 Nov, 2008

1 commit

  • Fix the following sparse warnings:

    sound/sound_core.c:460:2: warning: returning void-valued expression
    sound/sound_core.c:477:2: warning: returning void-valued expression
    sound/sound_core.c:510:5: warning: symbol 'soundcore_open' was not
    declared. Should it be static?

    Signed-off-by: Hannes Eder
    Signed-off-by: Takashi Iwai

    Hannes Eder
     

28 Oct, 2008

1 commit


27 Oct, 2008

1 commit


17 Oct, 2008

1 commit


09 Sep, 2008

1 commit

  • The __exit cleanup_oss_soundcore() is called from
    the __init init_soundcore(). This causes section mismatch
    and breaks kernel's linking on sparc64.

    Remove the __exit attribute from the cleanup_oss_soundcore().

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

    Krzysztof Helt
     

29 Aug, 2008

1 commit

  • sound/sound_core.c implements soundcore.ko and contains two parts -
    sound_class which is shared by both ALSA and OSS and device
    redirection support for OSS. It's always compiled when any sound
    support is enabled although it's necessary only when OSS (the actual
    one or emulation) is enabled. This is slightly wasteful and as device
    redirection always registers character device region for major 14, it
    prevents alternative implementation.

    This patch introduces a new config SOUND_OSS_CORE which is selected
    iff OSS support is actually necessary and build the OSS core part
    conditionally.

    If OSS is disabled, soundcore merely contains sound_class but leaving
    it that way seems to be the simplest approach as otherwise sound_class
    should be in ALSA core file if OSS is disabled but should be in
    soundcore if OSS is enabled. Also, there's also the user confusion
    factor.

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

    Tejun Heo
     

22 Jul, 2008

1 commit


21 Jun, 2008

1 commit


13 Feb, 2007

1 commit

  • Many struct file_operations in the kernel can be "const". Marking them const
    moves these to the .rodata section, which avoids false sharing with potential
    dirty data. In addition it'll catch accidental writes at compile time to
    these shared resources.

    Signed-off-by: Arjan van de Ven
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Arjan van de Ven
     

02 Dec, 2006

1 commit

  • Converts from using struct "class_device" to "struct device" making
    everything show up properly in /sys/devices/ with symlinks from the
    /sys/class directory.

    It also makes the struct sound_card to show up as a "real" device
    where all the different sound class devices are placed as childs
    and different card attribute files can hang off of. /sys/class/sound is
    still a flat directory, but the symlink targets of all devices belonging
    to the same card, point the the /sys/devices tree below the new card
    device object.

    Thanks to Kay for the updates to this patch.

    Signed-off-by: Kay Sievers
    Acked-by: Jaroslav Kysela
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     

04 Oct, 2006

1 commit

  • This patch contains the scheduled removal of OSS drivers that:
    - have ALSA drivers for the same hardware without known regressions and
    - whose Kconfig options have been removed in 2.6.17.

    [michal.k.k.piotrowski@gmail.com: build fix]
    Signed-off-by: Adrian Bunk
    Signed-off-by: Michal Piotrowski
    Cc: David Woodhouse
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Adrian Bunk
     

30 Sep, 2006

1 commit

  • All sound/sound_firmware.c contains is mod_firmware_load() that is a legacy
    API only used by some OSS drivers.

    This patch builds it into an own sound_firmware module that is only built
    depending on CONFIG_SOUND_PRIME making the kernel slightly smaller for ALSA
    users.

    [alan@lxorguk.ukuu.org.uk: comment fix]
    Signed-off-by: Adrian Bunk
    Acked-by: Takashi Iwai
    Signed-off-by: Alan Cox
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Adrian Bunk
     

01 Jul, 2006

1 commit


27 Jun, 2006

1 commit


29 Mar, 2006

1 commit

  • Mark the f_ops members of inodes as const, as well as fix the
    ripple-through this causes by places that copy this f_ops and then "do
    stuff" with it.

    Signed-off-by: Arjan van de Ven
    Signed-off-by: Alexey Dobriyan
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Arjan van de Ven
     

29 Oct, 2005

1 commit


30 Aug, 2005

1 commit


21 Jun, 2005

1 commit


17 Apr, 2005

1 commit

  • Initial git repository build. I'm not bothering with the full history,
    even though we have it. We can create a separate "historical" git
    archive of that later if we want to, and in the meantime it's about
    3.2GB when imported into git - space that would just make the early
    git days unnecessarily complicated, when we don't have a lot of good
    infrastructure for it.

    Let it rip!

    Linus Torvalds