diff options
author | Alan Cox <alan@linux.intel.com> | 2011-11-08 18:02:10 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-11-08 18:10:20 (GMT) |
commit | a8d12007c795f3d69ee0b2d29f0abfefd55c6120 (patch) | |
tree | c092e9392ab8265d3e0094d7b55affafb21176c2 /block/blk-settings.c | |
parent | 1ea6b8f48918282bdca0b32a34095504ee65bab5 (diff) | |
download | linux-a8d12007c795f3d69ee0b2d29f0abfefd55c6120.tar.xz |
n_gsm: Fix timings
Alek Du reported that the code erroneously applies time to jiffies
conversions twice to the t1 and t2 values. In normal use on a modem link
this cases no visible problem but on a slower link it will break as with
HZ=1000 as is typical we are running t1/t2 ten times too fast.
Alek's original patch removed the conversion from the timer setting but we
in fact have to be more careful as the contents of t1/t2 are visible via
the device API and we thus need to correct the constants.
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'block/blk-settings.c')
0 files changed, 0 insertions, 0 deletions