On 12/8/2022 1:23 PM, wangweidong.a@awinic.com wrote:
(...)
diff --git a/sound/soc/codecs/aw883xx/aw883xx_init.c b/sound/soc/codecs/aw883xx/aw883xx_init.c new file mode 100644 index 000000000000..2ef62fdebb57 --- /dev/null +++ b/sound/soc/codecs/aw883xx/aw883xx_init.c @@ -0,0 +1,615 @@ +// SPDX-License-Identifier: GPL-2.0-only +/*
- aw883xx.c -- ALSA Soc AW883XX codec support
- Copyright (c) 2022 AWINIC Technology CO., LTD
- Author: Bruce zhao zhaolei@awinic.com
- */
+#include <linux/delay.h> +#include <linux/device.h> +#include <linux/firmware.h> +#include <linux/i2c.h> +#include <linux/module.h> +#include <linux/of_gpio.h> +#include <linux/regmap.h> +#include <linux/syscalls.h> +#include <linux/uaccess.h> +#include <linux/version.h> +#include <linux/workqueue.h>
Again headers, picking at random: firmware.h, of_gpio, uaccess.h, version.h, from quick check seem unnecessary and likely some others can also be removed.
+#include <sound/control.h> +#include <sound/core.h> +#include <sound/pcm.h> +#include <sound/pcm_params.h> +#include <sound/soc.h> +#include "aw883xx.h" +#include "aw883xx_bin_parse.h" +#include "aw883xx_pid_2049_reg.h"
(...)