Lines Matching refs:cs35l56
17 struct cs35l56_hda *cs35l56; in cs35l56_hda_i2c_probe() local
20 cs35l56 = devm_kzalloc(&clt->dev, sizeof(*cs35l56), GFP_KERNEL); in cs35l56_hda_i2c_probe()
21 if (!cs35l56) in cs35l56_hda_i2c_probe()
24 cs35l56->base.dev = &clt->dev; in cs35l56_hda_i2c_probe()
27 cs35l56->base.can_hibernate = true; in cs35l56_hda_i2c_probe()
29 cs35l56->base.regmap = devm_regmap_init_i2c(clt, &cs35l56_regmap_i2c); in cs35l56_hda_i2c_probe()
30 if (IS_ERR(cs35l56->base.regmap)) { in cs35l56_hda_i2c_probe()
31 ret = PTR_ERR(cs35l56->base.regmap); in cs35l56_hda_i2c_probe()
32 dev_err(cs35l56->base.dev, "Failed to allocate register map: %d\n", in cs35l56_hda_i2c_probe()
37 ret = cs35l56_hda_common_probe(cs35l56, id->driver_data, clt->addr); in cs35l56_hda_i2c_probe()
40 ret = cs35l56_irq_request(&cs35l56->base, clt->irq); in cs35l56_hda_i2c_probe()
42 cs35l56_hda_remove(cs35l56->base.dev); in cs35l56_hda_i2c_probe()