X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=drivers%2Fsound%2Fwm8994.h;h=ef2878f87ca5277fb07c617ca65ae6a83fb03708;hb=83d290c56fab2d38cd1ab4c4cc7099559c1d5046;hp=a8f0de18c5bd32f64e7bc3c44ea59ffb70ea0e4e;hpb=2c601c7208713ba9b2158c57adcf515f4bdbc212;p=platform%2Fkernel%2Fu-boot.git diff --git a/drivers/sound/wm8994.h b/drivers/sound/wm8994.h index a8f0de1..ef2878f 100644 --- a/drivers/sound/wm8994.h +++ b/drivers/sound/wm8994.h @@ -1,24 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2012 Samsung Electronics * R. Chadrasekar - * - * See file CREDITS for list of people who contributed to this - * project. - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA */ #ifndef __WM8994_H__ @@ -69,8 +52,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 +62,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__ */