Revision ffab6cf44e9058fe75a33aa86386b22e616a8f6f authored by Sergei Shtylyov on 08 July 2008, 17:27:22 UTC, committed by Bartlomiej Zolnierkiewicz on 08 July 2008, 17:27:22 UTC
The driver uses completely bogus rounding formula for calculating period from the IDECLK frequency which gives one-off period values (e.g. 11 ns with 100 MHz IDECLK) which in turn can lead to overclocked IDE transfer timings. Actually, rounding is just wrong in this case, so use a mere division for a safe result. While at it, also: - give 'ide_palm_clk' variable a more suitable name; - get rid of the useless 'ideclkp' variable; - drop the LISP stype 'p' postfix from the 'clkp' variable's name. :-) Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Cc: mcherkashin@ru.mvista.com Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
1 parent a861beb
File | Mode | Size |
---|---|---|
bnep | ||
cmtp | ||
hidp | ||
rfcomm | ||
Kconfig | -rw-r--r-- | 2.1 KB |
Makefile | -rw-r--r-- | 372 bytes |
af_bluetooth.c | -rw-r--r-- | 8.9 KB |
hci_conn.c | -rw-r--r-- | 13.6 KB |
hci_core.c | -rw-r--r-- | 33.5 KB |
hci_event.c | -rw-r--r-- | 34.0 KB |
hci_sock.c | -rw-r--r-- | 15.5 KB |
hci_sysfs.c | -rw-r--r-- | 11.0 KB |
l2cap.c | -rw-r--r-- | 51.7 KB |
lib.c | -rw-r--r-- | 2.8 KB |
sco.c | -rw-r--r-- | 19.7 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...