diff options
Diffstat (limited to 'sound/soc/codecs/lm49453.c')
-rw-r--r-- | sound/soc/codecs/lm49453.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/sound/soc/codecs/lm49453.c b/sound/soc/codecs/lm49453.c index e19490cfb3a8..069cb0359932 100644 --- a/sound/soc/codecs/lm49453.c +++ b/sound/soc/codecs/lm49453.c | |||
@@ -1409,22 +1409,6 @@ static int lm49453_resume(struct snd_soc_codec *codec) | |||
1409 | return 0; | 1409 | return 0; |
1410 | } | 1410 | } |
1411 | 1411 | ||
1412 | static int lm49453_probe(struct snd_soc_codec *codec) | ||
1413 | { | ||
1414 | struct lm49453_priv *lm49453 = snd_soc_codec_get_drvdata(codec); | ||
1415 | int ret = 0; | ||
1416 | |||
1417 | codec->control_data = lm49453->regmap; | ||
1418 | |||
1419 | ret = snd_soc_codec_set_cache_io(codec, 8, 8, SND_SOC_REGMAP); | ||
1420 | if (ret < 0) { | ||
1421 | dev_err(codec->dev, "Failed to set cache I/O: %d\n", ret); | ||
1422 | return ret; | ||
1423 | } | ||
1424 | |||
1425 | return 0; | ||
1426 | } | ||
1427 | |||
1428 | /* power down chip */ | 1412 | /* power down chip */ |
1429 | static int lm49453_remove(struct snd_soc_codec *codec) | 1413 | static int lm49453_remove(struct snd_soc_codec *codec) |
1430 | { | 1414 | { |
@@ -1433,7 +1417,6 @@ static int lm49453_remove(struct snd_soc_codec *codec) | |||
1433 | } | 1417 | } |
1434 | 1418 | ||
1435 | static struct snd_soc_codec_driver soc_codec_dev_lm49453 = { | 1419 | static struct snd_soc_codec_driver soc_codec_dev_lm49453 = { |
1436 | .probe = lm49453_probe, | ||
1437 | .remove = lm49453_remove, | 1420 | .remove = lm49453_remove, |
1438 | .suspend = lm49453_suspend, | 1421 | .suspend = lm49453_suspend, |
1439 | .resume = lm49453_resume, | 1422 | .resume = lm49453_resume, |