diff options
| author | Albert Lee <[email protected]> | 2007-07-03 22:28:36 +0200 |
|---|---|---|
| committer | Bartlomiej Zolnierkiewicz <[email protected]> | 2007-07-03 22:28:36 +0200 |
| commit | 8006bf56e360a4db71d304df778870a371a9e930 (patch) | |
| tree | 9471ba5fd85ce42c8ec6253893520371762e513e /include/linux/debugobjects.h | |
| parent | 52374f890c1d0d64148d55a20d995a0b3e0ae987 (diff) | |
ide: pdc202xx_new PLL input clock fix
Recently the PLL input clock of Promise 2027x is sometimes detected
higher than expected (e.g. 20.027 MHz compared to 16.714 MHz).
It seems sometimes the mdelay() function is not as precise as it
used to be. Per Alan's advice, HT or power management might affect
the precision of mdelay().
This patch calls gettimeofday() to measure the time elapsed and
calculate the PLL input clock accordingly.
Signed-off-by: Albert Lee <[email protected]>
Cc: Alan Cox <[email protected]>
Cc: Bahadir Balban <[email protected]>
Acked-by: Sergei Shtylyov <[email protected]>
Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions