Philippe Mathieu-Daudé 4729b3a41d register: fix incorrect read mask
The register_read() and register_write() functions expect a bitmask argument.
To avoid duplicated code, a new inlined function register_enabled_mask() is
introduced.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2017-02-28 09:03:38 +03:00
..
2017-02-22 11:28:28 +11:00
2017-02-28 09:03:38 +03:00
2017-02-24 10:37:21 +00:00
2017-02-24 10:13:57 +00:00
2017-02-23 16:18:03 +01:00