diff options
| author | Jemma Denson <[email protected]> | 2015-05-03 08:55:15 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2015-05-18 16:36:13 -0300 |
| commit | c84251bb122d6abcb0178f2c922f9ef51740e7ad (patch) | |
| tree | bba0591f42d4bb0446183513242e4ac8b75fcacb /tools/perf/scripts/python | |
| parent | 6ce412292a2ae15eea55c70f43449a9857404c00 (diff) | |
[media] cx24120: Rework vco function to remove xxyyzz variable
Change calculate_vco function to send_vco to tidy up cx24120_init
function.
xxyyzz variable is remnants of a manual div & remainder codepath
to perform a u64 rounded div; replace with kernel macro
DIV_ROUND_CLOSEST_ULL
Hex values provided to the message are mainly variables calculated
within this function, replace with these to remove hardcoding.
Signed-off-by: Jemma Denson <[email protected]>
Signed-off-by: Patrick Boettcher <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions