diff options
author | Takashi Iwai <tiwai@suse.de> | 2012-07-19 02:03:20 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-07-19 02:03:20 -0400 |
commit | 4609ed6b1f0ab9f11a9d0361573b53d9d057c440 (patch) | |
tree | 802119cc6ddea286bc03d56431286ac52166352e /sound/soc/codecs/ml26124.c | |
parent | 639aa4bd58582f3015ae5621b7e9e754dcb58e6b (diff) | |
parent | 409b78cc17a4a3d07a541037575da648ced99437 (diff) |
Merge tag 'asoc-3.6' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-next
ASoC: Updates for 3.6
This has been a pretty quiet release - very little activity in framework
terms, mostly just a few new drivers and updates:
- Added the ability to add and remove DAPM paths dynamically, mostly for
reparenting on clock changes.
- New machine drivers for Marvell Brownstone, ST-Ericsson Ux500
reference platform and ttc-dkp.
- New CPU drivers for Blackfin BF6xx SPORTs in I2S mode, Marvell MMP,
Synopsis Designware I2S controllers, and SPEAr DMA and S/PDIF
- New CODEC drivers for Dialog DA732x, ST STA529, ST-Ericsson AB8500, TI
Isabelle and Wolfson Microelectronics WM5102 and WM5110
Diffstat (limited to 'sound/soc/codecs/ml26124.c')
-rw-r--r-- | sound/soc/codecs/ml26124.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sound/soc/codecs/ml26124.c b/sound/soc/codecs/ml26124.c index 22cb5bf59273..96aa5fa05160 100644 --- a/sound/soc/codecs/ml26124.c +++ b/sound/soc/codecs/ml26124.c | |||
@@ -638,7 +638,7 @@ static __devinit int ml26124_i2c_probe(struct i2c_client *i2c, | |||
638 | 638 | ||
639 | i2c_set_clientdata(i2c, priv); | 639 | i2c_set_clientdata(i2c, priv); |
640 | 640 | ||
641 | priv->regmap = regmap_init_i2c(i2c, &ml26124_i2c_regmap); | 641 | priv->regmap = devm_regmap_init_i2c(i2c, &ml26124_i2c_regmap); |
642 | if (IS_ERR(priv->regmap)) { | 642 | if (IS_ERR(priv->regmap)) { |
643 | ret = PTR_ERR(priv->regmap); | 643 | ret = PTR_ERR(priv->regmap); |
644 | dev_err(&i2c->dev, "regmap_init_i2c() failed: %d\n", ret); | 644 | dev_err(&i2c->dev, "regmap_init_i2c() failed: %d\n", ret); |
@@ -651,10 +651,7 @@ static __devinit int ml26124_i2c_probe(struct i2c_client *i2c, | |||
651 | 651 | ||
652 | static __devexit int ml26124_i2c_remove(struct i2c_client *client) | 652 | static __devexit int ml26124_i2c_remove(struct i2c_client *client) |
653 | { | 653 | { |
654 | struct ml26124_priv *priv = i2c_get_clientdata(client); | ||
655 | |||
656 | snd_soc_unregister_codec(&client->dev); | 654 | snd_soc_unregister_codec(&client->dev); |
657 | regmap_exit(priv->regmap); | ||
658 | return 0; | 655 | return 0; |
659 | } | 656 | } |
660 | 657 | ||