Resguardo inicial

This commit is contained in:
lastdragon
2026-09-06 12:53:21 -06:00
parent 662efe3c2a
commit ad2088d178
94853 changed files with 43200404 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* rt5575-spi.h -- ALC5575 SPI driver
*
* Copyright(c) 2025 Realtek Semiconductor Corp.
*
*/
#ifndef __RT5575_SPI_H__
#define __RT5575_SPI_H__
#if IS_ENABLED(CONFIG_SND_SOC_RT5575_SPI)
struct spi_device *rt5575_spi_get_device(struct device *dev);
int rt5575_spi_fw_load(struct spi_device *spi);
#else
static inline struct spi_device *rt5575_spi_get_device(struct device *dev)
{
return NULL;
}
static inline int rt5575_spi_fw_load(struct spi_device *spi)
{
return -EINVAL;
}
#endif
#endif /* __RT5575_SPI_H__ */