diff options
author | Rajeshwari Shinde <rajeshwari.s@samsung.com> | 2012-12-26 20:03:18 +0000 |
---|---|---|
committer | Minkyu Kang <mk7.kang@samsung.com> | 2013-01-08 10:54:33 +0900 |
commit | 6647c7ac8ed6ae8b5bda86df0671aea9ee3bc761 (patch) | |
tree | 445d800dddb865748bfc5d3afdd8b2ff2e6523a5 /drivers/sound/wm8994.h | |
parent | f482310c6def17ba975a041077f89d984be54b68 (diff) | |
download | u-boot-midas-6647c7ac8ed6ae8b5bda86df0671aea9ee3bc761.tar.gz u-boot-midas-6647c7ac8ed6ae8b5bda86df0671aea9ee3bc761.tar.bz2 u-boot-midas-6647c7ac8ed6ae8b5bda86df0671aea9ee3bc761.zip |
Sound: WM8994: Add FDT support to codec
This patch adds FDT support to the codec.
Signed-off-by: Rajeshwari Shinde <rajeshwari.s@samsung.com>
Acked-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'drivers/sound/wm8994.h')
-rw-r--r-- | drivers/sound/wm8994.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/sound/wm8994.h b/drivers/sound/wm8994.h index a8f0de18c5..a1e83353b4 100644 --- a/drivers/sound/wm8994.h +++ b/drivers/sound/wm8994.h @@ -69,8 +69,7 @@ enum wm8994_type { /* * intialise wm8994 sound codec device for the given configuration * - * @param pcodec_info pointer value of the sound codec info structure - * parsed from device tree + * @param blob FDT node for codec values * @param aif_id enum value of codec interface port in which * soc i2s is connected * @param sampling_rate Sampling rate ranges between from 8khz to 96khz @@ -80,8 +79,7 @@ enum wm8994_type { * * @returns -1 for error and 0 Success. */ -int wm8994_init(struct sound_codec_info *pcodec_info, - enum en_audio_interface aif_id, +int wm8994_init(const void *blob, enum en_audio_interface aif_id, int sampling_rate, int mclk_freq, int bits_per_sample, unsigned int channels); #endif /*__WM8994_H__ */ |