update max_registers
authora0220410 <peter-li@ti.com>
Tue, 25 Oct 2016 09:38:36 +0000 (17:38 +0800)
committera0220410 <peter-li@ti.com>
Tue, 25 Oct 2016 09:38:36 +0000 (17:38 +0800)
drv2625.c

index 813270f854d1ed2f305aa579bca4ec83d79b2ef4..215568cf055547ac8a57c8fb553ab6220700a05c 100755 (executable)
--- a/drv2625.c
+++ b/drv2625.c
@@ -1059,6 +1059,7 @@ static struct regmap_config drv2625_i2c_regmap = {
        .reg_bits = 8,
        .val_bits = 8,
        .cache_type = REGCACHE_NONE,
+       .max_register = 0xff,
 };
 
 static int drv2625_i2c_probe(struct i2c_client* client, const struct i2c_device_id* id)