diff options
author | Matthijs Kooijman <matthijs@stdin.nl> | 2013-08-30 18:45:20 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-30 14:14:53 -0700 |
commit | a1fc524393583a217ddbc71293eb30feef58530d (patch) | |
tree | 6ea3fa8a426af3e38eb05f2a9d33567e0174d5a2 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 08b9f9db707bae6c56c0b0b0232a1338ca58e3ce (diff) |
staging: dwc2: properly mask the GRXFSIZ register
Bits 16-31 are reserved, so the old code just reads the whole register to
get bits 0-15, assuming the reserved bits would be 0 (which seems true
on current hardware, but who knows...).
This commit properly masks out the reserved bits when reading and
doesn't touch the reserved bits while writing.
Signed-off-by: Matthijs Kooijman <matthijs@stdin.nl>
Acked-by: Paul Zimmerman <paulz@synopsys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions