diff options
Diffstat (limited to 'cds9k-mfd-spi.c')
-rw-r--r-- | cds9k-mfd-spi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cds9k-mfd-spi.c b/cds9k-mfd-spi.c index 9f04ffb..46d1c87 100644 --- a/cds9k-mfd-spi.c +++ b/cds9k-mfd-spi.c @@ -4,9 +4,10 @@ #include <linux/regmap.h> static const struct regmap_config simple_regmap_config = { + .max_register = 0x7f, .reg_bits = 8, - .val_bits = 16, .pad_bits = 8, + .val_bits = 16, }; static int david_cds9k_probe(struct spi_device *spi) |