diff options
Diffstat (limited to 'kernel/wctdm.c')
-rw-r--r-- | kernel/wctdm.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kernel/wctdm.c b/kernel/wctdm.c index f5a1118..00c8128 100644 --- a/kernel/wctdm.c +++ b/kernel/wctdm.c @@ -909,18 +909,18 @@ static inline void wctdm_voicedaa_check_hook(struct wctdm *wc, int card) fxo->battdebounce = battdebounce / MS_PER_CHECK_HOOK; } } + } - if (fxo->lastpol >= 0) { - if (b < 0) { - fxo->lastpol = -1; - fxo->polaritydebounce = POLARITY_DEBOUNCE / MS_PER_CHECK_HOOK; - } - } - if (fxo->lastpol <= 0) { - if (b > 0) { - fxo->lastpol = 1; - fxo->polaritydebounce = POLARITY_DEBOUNCE / MS_PER_CHECK_HOOK; - } + if (fxo->lastpol >= 0) { + if (b < 0) { + fxo->lastpol = -1; + fxo->polaritydebounce = POLARITY_DEBOUNCE / MS_PER_CHECK_HOOK; + } + } + if (fxo->lastpol <= 0) { + if (b > 0) { + fxo->lastpol = 1; + fxo->polaritydebounce = POLARITY_DEBOUNCE / MS_PER_CHECK_HOOK; } } |