Skip to content

Commit 6a1d482

Browse files
matthew-gerlachRuss Weight
authored andcommitted
drivers: fpga: dfl-spi-altera: enable regmap debugfs
Enable debugfs access to regmap used to interacte with Altera SPI Master component by adding an appropriate value to the max_register field in the regmap_config. Signed-off-by: Matthew Gerlach <matthew.gerlach@linux.intel.com>
1 parent 06552a0 commit 6a1d482

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/fpga/dfl-spi-altera.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ static const struct regmap_config indirect_regbus_cfg = {
104104
.reg_stride = 4,
105105
.val_bits = 32,
106106
.fast_io = true,
107+
.max_register = 24,
107108

108109
.reg_write = indirect_bus_reg_write,
109110
.reg_read = indirect_bus_reg_read,

0 commit comments

Comments
 (0)