X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=drivers%2Fsound%2Fmax98095.h;h=44b1e3a97b4aa16280c8940368a6bd321e0a50df;hb=0c2b6dffb7fcd6ef028020587a030b6bef154a0e;hp=ae5eb14dbb4f43447953cba4060cc4e0454a478c;hpb=d0f34f10f14853ebe3f75371533708aa0639d830;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