summaryrefslogtreecommitdiff
path: root/wct4xxp
diff options
context:
space:
mode:
Diffstat (limited to 'wct4xxp')
-rw-r--r--wct4xxp/base.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/wct4xxp/base.c b/wct4xxp/base.c
index 13d8562..48f618d 100644
--- a/wct4xxp/base.c
+++ b/wct4xxp/base.c
@@ -2726,7 +2726,7 @@ static void t4_vpm450_init(struct t4 *wc)
#ifdef HOTPLUG_FIRMWARE
release_firmware(firmware);
#endif
- if (vpmdtmfsupport<0){
+ if (vpmdtmfsupport == -1) {
printk("VPM450: hardware DTMF disabled.\n");
vpmdtmfsupport = 0;
}
@@ -2866,7 +2866,7 @@ static void t4_vpm400_init(struct t4 *wc)
t4_vpm_out(wc, x, i, (x < 4) ? 0x55 : 0xAA);
}
- if (vpmdtmfsupport<0){
+ if (vpmdtmfsupport == -1) {
printk("VPM400: hardware DTMF enabled.\n");
vpmdtmfsupport = 1;
}