hda-probes.c (6fe61f31eab1ec84c385786cd052415d966e5235) hda-probes.c (293ad28116e2c3e4d3eb28bd0378558edc897f55)
1// SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
2//
3// This file is provided under a dual BSD/GPLv2 license. When using or
4// redistributing this file, you may do so under either license.
5//
1// SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
2//
3// This file is provided under a dual BSD/GPLv2 license. When using or
4// redistributing this file, you may do so under either license.
5//
6// Copyright(c) 2019-2021 Intel Corporation. All rights reserved.
6// Copyright(c) 2019-2021 Intel Corporation
7//
8// Author: Cezary Rojewski <cezary.rojewski@intel.com>
9// Converted to SOF client:
10// Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
11// Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
12//
13
14#include <linux/module.h>

--- 119 unchanged lines hidden (view full) ---

134 .pointer = hda_probes_compr_pointer,
135};
136
137int hda_probes_register(struct snd_sof_dev *sdev)
138{
139 return sof_client_dev_register(sdev, "hda-probes", 0, &hda_probes_ops,
140 sizeof(hda_probes_ops));
141}
7//
8// Author: Cezary Rojewski <cezary.rojewski@intel.com>
9// Converted to SOF client:
10// Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
11// Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
12//
13
14#include <linux/module.h>

--- 119 unchanged lines hidden (view full) ---

134 .pointer = hda_probes_compr_pointer,
135};
136
137int hda_probes_register(struct snd_sof_dev *sdev)
138{
139 return sof_client_dev_register(sdev, "hda-probes", 0, &hda_probes_ops,
140 sizeof(hda_probes_ops));
141}
142EXPORT_SYMBOL_NS(hda_probes_register, SND_SOC_SOF_INTEL_HDA_COMMON);
143
144void hda_probes_unregister(struct snd_sof_dev *sdev)
145{
146 sof_client_dev_unregister(sdev, "hda-probes", 0);
147}
142
143void hda_probes_unregister(struct snd_sof_dev *sdev)
144{
145 sof_client_dev_unregister(sdev, "hda-probes", 0);
146}
148EXPORT_SYMBOL_NS(hda_probes_unregister, SND_SOC_SOF_INTEL_HDA_COMMON);
149
150MODULE_IMPORT_NS(SND_SOC_SOF_CLIENT);
147
148MODULE_IMPORT_NS(SND_SOC_SOF_CLIENT);