diff options
| author | Laurent Pinchart <[email protected]> | 2020-07-27 05:06:35 +0300 |
|---|---|---|
| committer | Stefan Agner <[email protected]> | 2020-07-28 17:20:23 +0200 |
| commit | 8c6619ff22113666b112cace7e4e8d872e09dff3 (patch) | |
| tree | ce47fc50965a18c63001804fcfd20b854bf5da35 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | c42001e357f7de11e882f54461be27757a7fe51a (diff) | |
drm: mxsfb: Use BIT() macro to define register bitfields
Using BIT() is preferred over manual shifts as it's more readable,
handles the 1 << 31 case properly, and avoids other mistakes as shown by
the DEBUG0_HSYNC and DEBUG0_VSYNC bits (that are currently unused). Use
it.
Signed-off-by: Laurent Pinchart <[email protected]>
Reviewed-by: Stefan Agner <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Signed-off-by: Stefan Agner <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions