X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=drivers%2Fsound%2Fmax98095.h;h=1521f3f02f9f30da6f7e713d552a087fa0f6c879;hb=287be3294af6179782f8a561afca427620504581;hp=ae5eb14dbb4f43447953cba4060cc4e0454a478c;hpb=5febe8db91a9feca467ce8e0189a69b49cba02e7;p=oweals%2Fu-boot.git diff --git a/drivers/sound/max98095.h b/drivers/sound/max98095.h index ae5eb14dbb..1521f3f02f 100644 --- a/drivers/sound/max98095.h +++ b/drivers/sound/max98095.h @@ -1,16 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * max98095.h -- MAX98095 ALSA SoC Audio driver * * Copyright 2011 Maxim Integrated Products - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ #ifndef _MAX98095_H #define _MAX98095_H +#include "maxim_codec.h" + +/* Available audio interface ports in wm8994 codec */ +enum en_max_audio_interface { + AIF1, + AIF2, +}; + /* * MAX98095 Registers Definition */ @@ -305,7 +310,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