summaryrefslogtreecommitdiffstats
path: root/drivers/staging/echo
Commit message (Collapse)AuthorAgeFilesLines
* staging: echo: move to drivers/misc/Greg Kroah-Hartman2014-02-287-1186/+0
| | | | | | | | | The code is clean, there are users of it, so it doesn't belong in staging anymore, move it to drivers/misc/. Cc: Steve Underwood <steveu@coppice.org> Cc: David Rowe <david@rowetel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: echo: Fixed camel-case variable namesLisa Nguyen2013-05-132-52/+52
| | | | | | | Fixed camel-case variable names in echo.c and echo.h. Signed-off-by: Lisa Nguyen <lisa@xenapiadmin.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: echo.c: fix memory leakageCong Ding2013-01-071-13/+26
| | | | | | | | | | we should check the return value of calling function fir16_create(): a NULL value means the memory allocation fails. this patch also cleans up the error handling in function function oslec_create() Signed-off-by: Cong Ding <dinggnu@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: echo: remove unused variableCong Ding2013-01-071-2/+1
| | | | | | | the variable j isn't used in the loop Signed-off-by: Cong Ding <dinggnu@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* Staging: echo: One variable per lineJesper Juhl2012-07-062-11/+26
| | | | | | | | Our convention is one (statement and) variable per line. Enforce this in drivers/staging/echo/echo.[ch] . Signed-off-by: Jesper Juhl <jj@chaosbits.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* drivers: staging: echo: Fix coding style issues.Chris Forbes2011-07-051-9/+2
| | | | | | | Fixed coding style issues as flagged by checkpatch.pl Signed-off-by: Chris Forbes <chrisf@ijw.co.nz> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: echo: Trivial indentation changesRahul Tank2011-05-171-11/+15
| | | | | | | | | | | | | | | | | | | | | | --bcaec50161b317392804a33628dd Content-Type: text/plain; charset=ISO-8859-1 Hi Greg, Please find patch attached . Thanks, Rahul Hi Greg,<br><br> Please find patch attached .<br><br>Thanks,<br> Rahul<br> From ba1dbafaef1a87c1338c5bb0e6bba3be06071c90 Mon Sep 17 00:00:00 2001 From: Rahul Tank <rahul.tank@gmail.com> Date: Sat, 14 May 2011 11:28:25 +0530 Subject: [PATCH] Trivial indentation cleanup Signed-off-by: Rahul Tank <rahul.tank@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: echo: fix a typo ("overflow")Jonathan Neuschäfer2011-03-021-1/+1
| | | | | Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: trivial: fix typo "seperate"Anand Gadiyar2010-05-141-1/+1
| | | | | | | | s/seperate/separate Signed-off-by: Anand Gadiyar <gadiyar@ti.com> Cc: Jiri Kosina <trivial@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: echo: coding style cleanupsGreg Kroah-Hartman2009-09-154-63/+67
| | | | | | | | Some remaining coding style cleanups to the header files and the echo.c file. Cc: David Rowe <david@rowetel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: echo: remove unneeded USE_SSE2 definesGreg Kroah-Hartman2009-09-151-36/+3
| | | | | | | | | This define is never set in the kernel, so remove the code using it. Cc: David Rowe <david@rowetel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: echo: remove unneeded USE_MMX definesGreg Kroah-Hartman2009-09-152-319/+3
| | | | | | | | | This define is never set in the kernel, so remove the code using it. This lets us drop the mmx.h file as well. Cc: David Rowe <david@rowetel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: echo: remove bit_operations.hGreg Kroah-Hartman2009-09-151-226/+0
| | | | | | | | This file is no longer needed, thanks to the work done by David. Cc: David Rowe <david@rowetel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: echo: top bit patchDavid Rowe2009-09-152-11/+18
| | | | | | | | | | | | | | | | | | | | | | | This patch removes the need for the bit_operations.h include file which can now be deleted. It also contains some minor corrections to comments (typos and alignment of ASCII formulas). I have also removed some #if lines that were not necessary. I have tested the patch using a unit test module that runs in kernel mode and have verified that the patched code gives identical results to the previous version using a 8000 sample input sequence. Let me know if you want this unit test, it runs automatically when the module is insmod-ed and outputs a go/no go result: # insmod oslec.ko # dmesg [17191803.480000] oslec_test installed [17191803.480000] Testing OSLEC with 128 taps (16 ms tail) [17191803.496000] Oslec Unit Test PASSED! pass: 8000 fail: 0 Signed-off-by: David Rowe <david@rowetel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: echo: remove TODO itemGreg Kroah-Hartman2009-09-151-2/+0
| | | | | | | | | The proc interface is no longer in the echo code, so remove the TODO item. Cc: Steve Underwood <steveu@coppice.org> Cc: David Rowe <david@rowetel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: echo: fix up remaining checkpatch.pl issuesGreg Kroah-Hartman2009-09-152-70/+96
| | | | | | | | | It's all just minor comment spacing issues. This patch fixes up the remaining ones and now the code is checkpatch.pl clean. Cc: Steve Underwood <steveu@coppice.org> Cc: David Rowe <david@rowetel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: oslec bug fixDavid Rowe2009-06-191-1/+1
| | | | | | | | | | | I have just had a bug fix submitted for Oslec which I have applied to Oslec SVN. The bug can potentially stops the echo canceller adapting after a few seconds, although it hasn't caused many problems in practice. Signed-off-by: David Rowe <david@rowetel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: echo cleanupAlexander Beregalov2009-04-035-263/+247
| | | | | | | | | | | | | | | | before: errors lines of code errors/KLOC drivers/staging/echo/ 213 1701 125.2 after: errors lines of code errors/KLOC drivers/staging/echo/ 8 1685 4.7 Compile tested. Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: echo: Lindent drivers/staging/echoJ.R. Mauro2009-01-063-14/+13
| | | | | | | | Lindent drivers/staging/echo Signed-off by: J.R. Mauro <jrm8005@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: echo: remove typedefsJ.R. Mauro2009-01-064-29/+28
| | | | | | | | Remove typedefs in drivers/staging/echo Signed-off by: J.R. Mauro <jrm8005@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* drivers: remove duplicated #includeJianjun Kong2008-11-041-1/+0
| | | | | Signed-off-by: Jianjun Kong <jianjun@zeuux.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* Staging: Lindent the echo driverJ.R. Mauro2008-10-226-672/+654
| | | | | | | | Lindent drivers/staging/echo* Signed-off by: J.R. Mauro <jrm8005@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: echo: remove annoying "end of function" markersPekka Enberg2008-10-223-26/+0
| | | | | | | | | | | This patch removes the very noisy "end of function" markers that are very annoying when reading the driver code. Cc: David Rowe <david@rowetel.com> Cc: Steve Underwood <steveu@coppice.org> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: echo: remove __cplusplus macro magicPekka Enberg2008-10-222-16/+0
| | | | | | | | | | | The kernel is written in C, so remove the __cplusplus macro magic from the driver. Cc: David Rowe <david@rowetel.com> Cc: Steve Underwood <steveu@coppice.org> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: echo: remove dead codePekka Enberg2008-10-221-45/+0
| | | | | | | | | | This patch removes dead code that is wrapped in #ifndef __KERNEL__. Cc: David Rowe <david@rowetel.com> Cc: Steve Underwood <steveu@coppice.org> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: echo: fix kmalloc()/kfree() usesPekka Enberg2008-10-222-28/+22
| | | | | | | | | | | | | This patch removes the malloc()/free() macro wrappers and converts call-sites to use kcalloc() and kzalloc() where appropriate. I also fixed up out-of-memory error handling in couple of places where it was broken. Cc: David Rowe <david@rowetel.com> Cc: Steve Underwood <steveu@coppice.org> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: echo: Replace __BLACKFIN__ASM__ with __bfin__Tzafrir Cohen2008-10-222-5/+5
| | | | | | Signed-off-by: Tzafrir Cohen <tzafrir@cohens.org.il> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: echo: Changed preffix from echo_can_ to oslec_Tzafrir Cohen2008-10-223-27/+27
| | | | | | Signed-off-by: Tzafrir Cohen <tzafrir@cohens.org.il> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: echo: Replace echo_can_state_t with struct echo_can_stateTzafrir Cohen2008-10-222-18/+18
| | | | | | Signed-off-by: Tzafrir Cohen <tzafrir@cohens.org.il> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: echo: Export interface functions. Add module headers.Tzafrir Cohen2008-10-221-1/+12
| | | | | | Signed-off-by: Tzafrir Cohen <tzafrir@cohens.org.il> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: echo: A separate oslec.h for external interfaceTzafrir Cohen2008-10-222-50/+89
| | | | | | | | | | Split out the external interface to a separate file called oslec.h . Give the struct a name while we're at it. Signed-off-by: Tzafrir Cohen <tzafrir@cohens.org.il> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: add echo cancelation moduleDavid Rowe2008-10-108-0/+1782
This is used by mISDN and Zaptel drivers. From: Steve Underwood <steveu@coppice.org> From: David Rowe <david@rowetel.com> Cc: Tzafrir Cohen <tzafrir.cohen@xorcom.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
OpenPOWER on IntegriCloud