commit | 48b1aff5b93521c5ad90842bef52b218ac50a4ab | [log] [tgz] |
---|---|---|
author | Ian Abbott <abbotti@mev.co.uk> | Fri Nov 20 11:32:37 2009 +0000 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Fri Dec 11 12:23:04 2009 -0800 |
tree | 2adf30084e79501f038cde06a6a3b6d04119432e | |
parent | 67a6efb1f86eb51e4b702c4e8e735ca24e3427d8 [diff] |
Staging: comedi: initialize divisor variables The i8253_cascade_ns_to_timer_2div() function (and i8253_cascade_ns_to_timer macro) checks the old values *d1 and *d2 for correctness as a heuristic before calculating new values. Don't call the function with uninitialized values in *d1 and *d2. Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>