commit | 7afa05350c42d8427f2d8f6112b64ab0812f3289 | [log] [tgz] |
---|---|---|
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | Sun Nov 02 21:40:10 2008 +0100 |
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | Sun Nov 02 21:40:10 2008 +0100 |
tree | 07a972ee758fa975dc4f524df6e3f37628938255 | |
parent | 9d4eb0a33e620a85e36f66cf895d2bea6d556eac [diff] |
tx4938ide: Avoid underflow on calculation of a wait cycle Make 'wt' variable signed while it can be negative during calculation. Suggested-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Cc: sshtylyov@ru.mvista.com Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>