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
..
2016-09-08 18:05:22 +04:00
2016-01-29 15:07:25 +00:00
2016-01-29 15:07:25 +00:00
2016-05-23 16:53:46 +02:00
2017-02-28 09:03:38 +03:00
2016-01-29 15:07:25 +00:00
2016-05-19 16:42:30 +02:00