#include <linux/acpi.h>
#include <linux/delay.h>
#include <linux/dmi.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <sound/core.h>
#include <sound/jack.h>
#include <sound/pcm.h>
#include <sound/pcm_params.h>
#include <sound/sof.h>
#include "sof_board_helpers.h"
#include "sof_realtek_common.h"
#include "sof_cirrus_common.h"
#define SOF_HDMI_PLAYBACK_PRESENT …
static unsigned long sof_ssp_amp_quirk = …;
static const struct dmi_system_id chromebook_platforms[] = …;
static int sof_card_late_probe(struct snd_soc_card *card)
{ … }
static struct snd_soc_card sof_ssp_amp_card = …;
#define HDMI_IN_BE_ID …
#define SPK_BE_ID …
#define DMIC01_BE_ID …
#define INTEL_HDMI_BE_ID …
#define DMIC16K_BE_ID …
#define BT_OFFLOAD_BE_ID …
#define SSP_AMP_LINK_ORDER …
#define SSP_AMP_LINK_IDS …
static int
sof_card_dai_links_create(struct device *dev, struct snd_soc_card *card,
struct sof_card_private *ctx)
{ … }
static int sof_ssp_amp_probe(struct platform_device *pdev)
{ … }
static const struct platform_device_id board_ids[] = …;
MODULE_DEVICE_TABLE(platform, board_ids);
static struct platform_driver sof_ssp_amp_driver = …;
module_platform_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;
MODULE_IMPORT_NS(…);
MODULE_IMPORT_NS(…);
MODULE_IMPORT_NS(…);