diff options
| author | David S. Miller <davem@davemloft.net> | 2011-04-11 16:44:25 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2011-04-11 16:44:25 -0400 |
| commit | 1c01a80cfec6f806246f31ff2680cd3639b30e67 (patch) | |
| tree | 0b554aad2ec1da71ecf6339d4ba51617bfe1dc3c /drivers/isdn/mISDN/dsp_dtmf.c | |
| parent | c44d79950b2daa1025e62eede73e4e4a274d1ef3 (diff) | |
| parent | 4a9f65f6304a00f6473e83b19c1e83caa1e42530 (diff) | |
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts:
drivers/net/smsc911x.c
Diffstat (limited to 'drivers/isdn/mISDN/dsp_dtmf.c')
| -rw-r--r-- | drivers/isdn/mISDN/dsp_dtmf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/isdn/mISDN/dsp_dtmf.c b/drivers/isdn/mISDN/dsp_dtmf.c index 9ae2d33b06f..5b484c3f4af 100644 --- a/drivers/isdn/mISDN/dsp_dtmf.c +++ b/drivers/isdn/mISDN/dsp_dtmf.c | |||
| @@ -106,7 +106,7 @@ void dsp_dtmf_hardware(struct dsp *dsp) | |||
| 106 | * tested it allot. it even works with very short tones (40ms). the only | 106 | * tested it allot. it even works with very short tones (40ms). the only |
| 107 | * disadvantage is, that it doesn't work good with different volumes of both | 107 | * disadvantage is, that it doesn't work good with different volumes of both |
| 108 | * tones. this will happen, if accoustically coupled dialers are used. | 108 | * tones. this will happen, if accoustically coupled dialers are used. |
| 109 | * it sometimes detects tones during speach, which is normal for decoders. | 109 | * it sometimes detects tones during speech, which is normal for decoders. |
| 110 | * use sequences to given commands during calls. | 110 | * use sequences to given commands during calls. |
| 111 | * | 111 | * |
| 112 | * dtmf - points to a structure of the current dtmf state | 112 | * dtmf - points to a structure of the current dtmf state |
| @@ -244,7 +244,7 @@ coefficients: | |||
| 244 | if (result[i] < tresh) { | 244 | if (result[i] < tresh) { |
| 245 | lowgroup = -1; | 245 | lowgroup = -1; |
| 246 | highgroup = -1; | 246 | highgroup = -1; |
| 247 | break; /* noise inbetween */ | 247 | break; /* noise in between */ |
| 248 | } | 248 | } |
| 249 | /* good level found. This is allowed only one time per group */ | 249 | /* good level found. This is allowed only one time per group */ |
| 250 | if (i < NCOEFF/2) { | 250 | if (i < NCOEFF/2) { |
