linux/sound/soc/sof/intel/hda-bus.c

// SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
//
// This file is provided under a dual BSD/GPLv2 license.  When using or
// redistributing this file, you may do so under either license.
//
// Copyright(c) 2018 Intel Corporation
//
// Authors: Keyon Jie <[email protected]>

#include <linux/io.h>
#include <sound/hdaudio.h>
#include <sound/hda_i915.h>
#include <sound/hda_codec.h>
#include <sound/hda_register.h>
#include "../sof-priv.h"
#include "hda.h"

#if IS_ENABLED(CONFIG_SND_SOC_SOF_HDA_AUDIO_CODEC)
#include "../../codecs/hdac_hda.h"
#define sof_hda_ext_ops

static void update_codec_wake_enable(struct hdac_bus *bus, unsigned int addr, bool link_power)
{}

static void sof_hda_bus_link_power(struct hdac_device *codec, bool enable)
{}

static const struct hdac_bus_ops bus_core_ops =;
#endif

/*
 * This can be used for both with/without hda link support.
 */
void sof_hda_bus_init(struct snd_sof_dev *sdev, struct device *dev)
{}
EXPORT_SYMBOL_NS();

void sof_hda_bus_exit(struct snd_sof_dev *sdev)
{}
EXPORT_SYMBOL_NS();