Skip to contentSkip to conversation

misc: echo: Remove

PATCH New [email protected] 1 participant 1 message Apr 27, 2025 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 misc: echo: Remove

From: "Dr. David Alan Gilbert" <[email protected]>

'echo' is a software echo canceller for telco use, however it's not used in the kernel at all.

Remove it.

It was moved from staging in 2014 by
commit Fixes: 6e2055a9e56e ("staging: echo: move to drivers/misc/")

Some discussion on lkml:
https://lore.kernel.org/all/Z7tZhYET41DAoHVf@gallifrey/
with Arnd and Harald, led to the 'dahdi' package which is part of Asterisk:

https://gitea.osmocom.org/retronetworking/dahdi-linux

which can build with the 'echo' module, but is normally configured with out it.
Dahdi is large, old, only lightly maintained and with a big API, so there's no hope now of ever merging it into the main kernel tree.

Debian do package Dahdi, and in their package they actually include a copy of the 'echo' module rather than using the kernel from the upstream kernel. So even in the few cases where it is packaged and built, the kernel copy isn't used.

---
 drivers/misc/Kconfig       |   1 -
 drivers/misc/Makefile      |   1 -
 drivers/misc/echo/Kconfig  |   9 -
 drivers/misc/echo/Makefile |   2 -
 drivers/misc/echo/echo.c   | 589 -------------------------------------
 drivers/misc/echo/echo.h   | 175 -----------
 drivers/misc/echo/fir.h    | 154 ----------
 drivers/misc/echo/oslec.h  |  81 -----
 8 files changed, 1012 deletions(-)
 delete mode 100644 drivers/misc/echo/Kconfig
 delete mode 100644 drivers/misc/echo/Makefile
 delete mode 100644 drivers/misc/echo/echo.c
 delete mode 100644 drivers/misc/echo/echo.h
 delete mode 100644 drivers/misc/echo/fir.h
 delete mode 100644 drivers/misc/echo/oslec.h
drivers/misc/Kconfig +0 -1
index 6b37d61150ee..052ab185f876 100644
@@ -640,7 +640,6 @@ source "drivers/misc/altera-stapl/Kconfig"
 source "drivers/misc/mei/Kconfig"
 source "drivers/misc/vmw_vmci/Kconfig"
 source "drivers/misc/genwqe/Kconfig"
-source "drivers/misc/echo/Kconfig"
 source "drivers/misc/ocxl/Kconfig"
 source "drivers/misc/bcm-vk/Kconfig"
 source "drivers/misc/cardreader/Kconfig"
drivers/misc/Makefile +0 -1
index d6c917229c45..0b601e6404e1 100644
@@ -49,7 +49,6 @@ obj-$(CONFIG_LATTICE_ECP3_CONFIG)	+= lattice-ecp3-config.o
 obj-$(CONFIG_SRAM)		+= sram.o
 obj-$(CONFIG_SRAM_EXEC)		+= sram-exec.o
 obj-$(CONFIG_GENWQE)		+= genwqe/
-obj-$(CONFIG_ECHO)		+= echo/
 obj-$(CONFIG_DW_XDATA_PCIE)	+= dw-xdata-pcie.o
 obj-$(CONFIG_PCI_ENDPOINT_TEST)	+= pci_endpoint_test.o
 obj-$(CONFIG_OCXL)		+= ocxl/
drivers/misc/echo/Kconfig deleted +0 -9
deleted file mode 100644
index ce0a37a47fc1..000000000000
@@ -1,9 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0-only
-config ECHO
-	tristate "Line Echo Canceller support"
-	help
-	  This driver provides line echo cancelling support for mISDN and
-	  Zaptel drivers.
-
-	  To compile this driver as a module, choose M here. The module
-	  will be called echo.
drivers/misc/echo/Makefile deleted +0 -2
deleted file mode 100644
index 5b97467ffb7d..000000000000
@@ -1,2 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0-only
-obj-$(CONFIG_ECHO) += echo.o
drivers/misc/echo/echo.c deleted +0 -589

589 lines not on this page · raw message

drivers/misc/echo/echo.h deleted +0 -175

175 lines not on this page · raw message

drivers/misc/echo/fir.h deleted +0 -154

154 lines not on this page · raw message

drivers/misc/echo/oslec.h deleted +0 -81

81 lines not on this page · raw message

Signature · 1 line
2.49.0