summaryrefslogtreecommitdiffstats
path: root/drivers/staging/echo/echo.c
Commit message (Collapse)AuthorAgeFilesLines
* 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-151-5/+5
| | | | | | | | 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: top bit patchDavid Rowe2009-09-151-10/+17
| | | | | | | | | | | | | | | | | | | | | | | 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: fix up remaining checkpatch.pl issuesGreg Kroah-Hartman2009-09-151-69/+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-031-26/+16
| | | | | | | | | | | | | | | | 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>
* 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-221-399/+404
| | | | | | | | 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-221-7/+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: fix kmalloc()/kfree() usesPekka Enberg2008-10-221-19/+17
| | | | | | | | | | | | | 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-221-1/+1
| | | | | | 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-221-18/+18
| | | | | | 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-221-10/+10
| | | | | | 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: add echo cancelation moduleDavid Rowe2008-10-101-0/+632
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