diff options
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/sound/max98095.h | 2 | ||||
| -rw-r--r-- | drivers/sound/sound-i2s.c | 6 | ||||
| -rw-r--r-- | drivers/sound/wm8994.h | 2 | 
3 files changed, 4 insertions, 6 deletions
| diff --git a/drivers/sound/max98095.h b/drivers/sound/max98095.h index 44b1e3a97b4..13ae177a86b 100644 --- a/drivers/sound/max98095.h +++ b/drivers/sound/max98095.h @@ -13,7 +13,7 @@  /*  Available audio interface ports in wm8994 codec */  enum en_max_audio_interface { -	AIF1 = 1, +	AIF1,  	AIF2,  }; diff --git a/drivers/sound/sound-i2s.c b/drivers/sound/sound-i2s.c index ed130750b2e..a2fc78154f1 100644 --- a/drivers/sound/sound-i2s.c +++ b/drivers/sound/sound-i2s.c @@ -120,13 +120,11 @@ static int codec_init(const void *blob, struct i2s_uc_priv *pi2s_tx)  	debug("device = %s\n", codectype);  	if (!strcmp(codectype, "wm8994")) {  		/* Check the codec type and initialise the same */ -		ret = wm8994_init(blob, pi2s_tx->id + 1, -				  pi2s_tx->samplingrate, +		ret = wm8994_init(blob, pi2s_tx->id, pi2s_tx->samplingrate,  				  (pi2s_tx->samplingrate * (pi2s_tx->rfs)),  				  pi2s_tx->bitspersample, pi2s_tx->channels);  	} else if (!strcmp(codectype, "max98095")) { -		ret = max98095_init(blob, pi2s_tx->id + 1, -				    pi2s_tx->samplingrate, +		ret = max98095_init(blob, pi2s_tx->id, pi2s_tx->samplingrate,  				    (pi2s_tx->samplingrate * (pi2s_tx->rfs)),  				    pi2s_tx->bitspersample);  	} else { diff --git a/drivers/sound/wm8994.h b/drivers/sound/wm8994.h index ef2878f87ca..e36e6269f00 100644 --- a/drivers/sound/wm8994.h +++ b/drivers/sound/wm8994.h @@ -15,7 +15,7 @@  /*  Avilable audi interface ports in wm8994 codec */  enum en_audio_interface { -	 WM8994_AIF1 = 1, +	 WM8994_AIF1,  	 WM8994_AIF2,  	 WM8994_AIF3  }; | 
