diff options
Diffstat (limited to 'sound/soc/codecs/adau1373.c')
-rw-r--r-- | sound/soc/codecs/adau1373.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sound/soc/codecs/adau1373.c b/sound/soc/codecs/adau1373.c index 5223800775ad..877f5737bb6b 100644 --- a/sound/soc/codecs/adau1373.c +++ b/sound/soc/codecs/adau1373.c | |||
@@ -1376,15 +1376,8 @@ static int adau1373_probe(struct snd_soc_codec *codec) | |||
1376 | struct adau1373_platform_data *pdata = codec->dev->platform_data; | 1376 | struct adau1373_platform_data *pdata = codec->dev->platform_data; |
1377 | bool lineout_differential = false; | 1377 | bool lineout_differential = false; |
1378 | unsigned int val; | 1378 | unsigned int val; |
1379 | int ret; | ||
1380 | int i; | 1379 | int i; |
1381 | 1380 | ||
1382 | ret = snd_soc_codec_set_cache_io(codec, 0, 0, SND_SOC_REGMAP); | ||
1383 | if (ret) { | ||
1384 | dev_err(codec->dev, "failed to set cache I/O: %d\n", ret); | ||
1385 | return ret; | ||
1386 | } | ||
1387 | |||
1388 | if (pdata) { | 1381 | if (pdata) { |
1389 | if (pdata->num_drc > ARRAY_SIZE(pdata->drc_setting)) | 1382 | if (pdata->num_drc > ARRAY_SIZE(pdata->drc_setting)) |
1390 | return -EINVAL; | 1383 | return -EINVAL; |