diff options
| author | Barry Song <[email protected]> | 2013-01-16 14:49:27 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2013-01-17 17:18:55 -0800 |
| commit | ac4ce718893c546f7a2d34ab55a8f75842399f86 (patch) | |
| tree | d858a4fa3c2b9dca0e383324b00cfad96aebc893 /tools/perf/scripts/python | |
| parent | e27a7d7977b07d701ba247e2ddb95466d95c898f (diff) | |
serial: sirf: only use lookup table to set baudrate when ioclk=150MHz
The fast lookup table to set baudrate is only right when ioclk
is 150MHz. for most platforms, ioclk is 150MHz, but some boards
might set ioclk to other frequency.
so re-calc the clk_div_reg when ioclk is not 150MHz. this patch
also gets clk in probe and puts it in remove.
Signed-off-by: Barry Song <[email protected]>
Cc: Russell King <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions