diff options
Diffstat (limited to 'sound/soc/codecs/cs42l42.c')
-rw-r--r-- | sound/soc/codecs/cs42l42.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/sound/soc/codecs/cs42l42.c b/sound/soc/codecs/cs42l42.c index 4fade2388797..2a98f9bc7144 100644 --- a/sound/soc/codecs/cs42l42.c +++ b/sound/soc/codecs/cs42l42.c @@ -380,7 +380,7 @@ static const struct regmap_config cs42l42_regmap = { .max_register = CS42L42_MAX_REGISTER, .reg_defaults = cs42l42_reg_defaults, .num_reg_defaults = ARRAY_SIZE(cs42l42_reg_defaults), - .cache_type = REGCACHE_RBTREE, + //.cache_type = REGCACHE_RBTREE, .use_single_read = true, .use_single_write = true, @@ -2273,13 +2273,10 @@ static int cs42l42_i2c_probe(struct i2c_client *i2c_client) goto err_disable; } - if (devid != CS42L42_CHIP_ID) { - ret = -ENODEV; - dev_err(&i2c_client->dev, + if (devid != CS42L42_CHIP_ID) + dev_warn(&i2c_client->dev, "CS42L42 Device ID (%X). Expected %X\n", devid, CS42L42_CHIP_ID); - goto err_disable; - } ret = regmap_read(cs42l42->regmap, CS42L42_REVID, ®); if (ret < 0) { |