X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=drivers%2Fsound%2Fmax98095.h;h=44b1e3a97b4aa16280c8940368a6bd321e0a50df;hb=6e51ca41002c5e92f7fec088320e340102dd3f5b;hp=ae5eb14dbb4f43447953cba4060cc4e0454a478c;hpb=be08abc2429c2e9cbce3d0abc1d315171d683520;p=u-boot diff --git a/drivers/sound/max98095.h b/drivers/sound/max98095.h index ae5eb14dbb..44b1e3a97b 100644 --- a/drivers/sound/max98095.h +++ b/drivers/sound/max98095.h @@ -11,6 +11,12 @@ #ifndef _MAX98095_H #define _MAX98095_H +/* Available audio interface ports in wm8994 codec */ +enum en_max_audio_interface { + AIF1 = 1, + AIF2, +}; + /* * MAX98095 Registers Definition */ @@ -305,7 +311,7 @@ * * @returns -1 for error and 0 Success. */ -int max98095_init(const void *blob, int sampling_rate, int mclk_freq, - int bits_per_sample); +int max98095_init(const void *blob, enum en_max_audio_interface aif_id, + int sampling_rate, int mclk_freq, int bits_per_sample); #endif