/* * sound\soc\sunxi\sun50iw11\sunxi-sndcodec.h * * (C) Copyright 2019-2025 * Allwinner Technology Co., Ltd. * yumingfeng * * some simple description for this code * * 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. * */ #ifndef __SUNXI_SNDCODEC_H_ #define __SUNXI_SNDCODEC_H_ #ifdef CONFIG_SND_SUN50IW11_MAD #include "sunxi-mad.h" #endif #include "sunxi-codec.h" enum sunxi_sndcodec_div_id { CODEC_DIV_PLAYBACK = 0, CODEC_DIV_CAPTURE = 1, }; struct sunxi_sndcodec_priv { struct snd_soc_card *card; #ifdef CONFIG_SND_SUN50IW11_MAD struct sunxi_mad_priv mad_priv; #endif }; #endif