diff -drupN a/sound/soc/sunxi/sun8iw19-snddaudio.h b/sound/soc/sunxi/sun8iw19-snddaudio.h --- a/sound/soc/sunxi/sun8iw19-snddaudio.h 1970-01-01 03:00:00.000000000 +0300 +++ b/sound/soc/sunxi/sun8iw19-snddaudio.h 2022-06-12 05:28:14.000000000 +0300 @@ -0,0 +1,41 @@ +/* + * sound\soc\sunxi\sun8iw19-snddaudio.h + * (C) Copyright 2014-2019 + * 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 __SUN8IW19_SNDDAUDIO_H_ +#define __SUN8IW19_SNDDAUDIO_H_ + +#include "sun8iw19-daudio.h" + +struct platform_data { + unsigned int audio_format; + unsigned int signal_inversion; + unsigned int daudio_master; +}; + +struct sunxi_snddaudio_priv { + struct snd_soc_card *card; + struct platform_data pdata; +#ifdef DAUDIO_FORMAT_DYNC_DEBUG + struct dentry *daudio_debug_root; + struct dentry *format_file; + struct dentry *signal_invert_file; + struct dentry *clock_master_file; + char debug_fmt_cmd[64]; + char debug_signal_invert_cmd[64]; + char debug_clk_mode_cmd[64]; +#endif +}; + +#endif