diff options
author | 2016-09-15 23:14:00 +0800 | |
---|---|---|
committer | 2016-09-18 21:12:17 +0200 | |
commit | e996e2089f25b84149ae82b5ddf37a263a7fcc71 (patch) | |
tree | 3e3e78fd7ab63cefdd9cd3cbb6b0e77867b99447 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/sun4i: backend: remove redundant dev_err call in sun4i_backend_bind() (diff) | |
download | linux-dev-e996e2089f25b84149ae82b5ddf37a263a7fcc71.tar.xz linux-dev-e996e2089f25b84149ae82b5ddf37a263a7fcc71.zip |
drm/sun4i: dotclock: Fix clock rate read back calcation
When reading back the divider set in the register, we mask off the
bits that aren't part of the divider. Unfortunately the mask used
here was not converted from the field width.
Fix this by converting the field width to a proper bit mask.
Fixes: 9026e0d122ac ("drm: Add Allwinner A10 Display Engine support")
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions