Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1640006

Re: [alsa-devel] future of sounds/oss

From Takashi Iwai <tiwai@suse.de>
Newsgroups linux.kernel
Subject Re: [alsa-devel] future of sounds/oss
Date 2017-05-11 22:30 +0200
Message-ID <tG2SJ-2Ew-13@gated-at.bofh.it> (permalink)
References <tFRDY-3XM-11@gated-at.bofh.it> <tFRXk-44b-15@gated-at.bofh.it> <tFSql-4t8-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, 11 May 2017 11:15:11 +0200,
Christoph Hellwig wrote:
> 
> On Thu, May 11, 2017 at 10:46:47AM +0200, Takashi Iwai wrote:
> > Yeah, I also started looking at it after reading the LWN article.
> > The removal of set_fs() in ALSA part was already finished, and I'm
> > currently brushing up the patches.  It'll be in 4.13 at latest.
> 
> Great!
> 
> > That said, I'd love to drop that legacy stuff; or maybe as a
> > soft-landing, begin with disabling the build of sound/oss in Kconfig.
> > 
> > The latter can be done even for 4.12, if Linus doesn't mind.
> 
> I'd be absolutely in favor of trying that and seeing if anyone
> screams.

Since no one cried against it so far, I'll try to smuggle the
following patch into 4.12.


Takashi

-- 8< --
From: Takashi Iwai <tiwai@suse.de>
Subject: [PATCH] sound: Disable the build of OSS drivers

OSS drivers are left as badly unmaintained, and now we're facing a
problem to clean up the hackish set_fs() usage in their codes.  Since
most of drivers have been covered by ALSA, and the others are dead old
and inactive, let's leave them RIP.

This patch is the first step: disable the build of OSS drivers.
We'll eventually drop the whole codes and clean up later.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
---
 sound/Kconfig | 26 ++++++++++++++------------
 1 file changed, 14 insertions(+), 12 deletions(-)

diff --git a/sound/Kconfig b/sound/Kconfig
index ee2e69a9ecd1..41eda578d08e 100644
--- a/sound/Kconfig
+++ b/sound/Kconfig
@@ -54,7 +54,8 @@ config SOUND_OSS_CORE_PRECLAIM
 
 	  If unsure, say Y.
 
-source "sound/oss/dmasound/Kconfig"
+### TO-BE-REMOVED
+# source "sound/oss/dmasound/Kconfig"
 
 if !M68K && !UML
 
@@ -112,17 +113,18 @@ source "sound/x86/Kconfig"
 
 endif # SND
 
-menuconfig SOUND_PRIME
-	tristate "Open Sound System (DEPRECATED)"
-	select SOUND_OSS_CORE
-	help
-	  Say 'Y' or 'M' to enable Open Sound System drivers.
-
-if SOUND_PRIME
-
-source "sound/oss/Kconfig"
-
-endif # SOUND_PRIME
+### TO-BE-REMOVED
+# menuconfig SOUND_PRIME
+# 	tristate "Open Sound System (DEPRECATED)"
+# 	select SOUND_OSS_CORE
+# 	help
+# 	  Say 'Y' or 'M' to enable Open Sound System drivers.
+#
+# if SOUND_PRIME
+#
+# source "sound/oss/Kconfig"
+#
+# endif # SOUND_PRIME
 
 endif # !M68K
 
-- 
2.12.2

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

future of sounds/oss Christoph Hellwig <hch@lst.de> - 2017-05-11 10:30 +0200
  Re: [alsa-devel] future of sounds/oss Takashi Iwai <tiwai@suse.de> - 2017-05-11 10:50 +0200
    Re: [alsa-devel] future of sounds/oss Christoph Hellwig <hch@lst.de> - 2017-05-11 11:20 +0200
      Re: [alsa-devel] future of sounds/oss Linus Torvalds <torvalds@linux-foundation.org> - 2017-05-11 22:30 +0200
        Re: [alsa-devel] future of sounds/oss Randy Dunlap <rdunlap@infradead.org> - 2017-05-11 22:40 +0200
        Re: [alsa-devel] future of sounds/oss Takashi Iwai <tiwai@suse.de> - 2017-05-11 22:50 +0200
      Re: [alsa-devel] future of sounds/oss Takashi Iwai <tiwai@suse.de> - 2017-05-11 22:30 +0200
        Re: [alsa-devel] future of sounds/oss Geert Uytterhoeven <geert@linux-m68k.org> - 2017-05-12 09:10 +0200
          Re: [alsa-devel] future of sounds/oss Geert Uytterhoeven <geert@linux-m68k.org> - 2017-05-12 09:20 +0200
            Re: [alsa-devel] future of sounds/oss Takashi Iwai <tiwai@suse.de> - 2017-05-12 09:30 +0200
              Re: [alsa-devel] future of sounds/oss Geert Uytterhoeven <geert@linux-m68k.org> - 2017-05-12 09:40 +0200
                Re: [alsa-devel] future of sounds/oss Takashi Iwai <tiwai@suse.de> - 2017-05-12 10:10 +0200
                Re: [alsa-devel] future of sounds/oss Geert Uytterhoeven <geert@linux-m68k.org> - 2017-05-16 09:50 +0200
                Re: [alsa-devel] future of sounds/oss Takashi Iwai <tiwai@suse.de> - 2017-05-16 10:50 +0200
              Re: [alsa-devel] future of sounds/oss John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> - 2017-05-12 10:40 +0200
          Re: [alsa-devel] future of sounds/oss Takashi Iwai <tiwai@suse.de> - 2017-05-12 09:20 +0200
    Re: future of sounds/oss Takashi Sakamoto <o-takashi@sakamocchi.jp> - 2017-05-11 12:10 +0200
      Re: future of sounds/oss Takashi Sakamoto <o-takashi@sakamocchi.jp> - 2017-05-11 12:40 +0200
        Re: future of sounds/oss Takashi Iwai <tiwai@suse.de> - 2017-05-11 14:20 +0200

csiph-web