|
Last change
on this file was 772, checked in by David Azarewicz, 7 months ago |
|
Merge in changes from 6.6-LTS branch.
Fixed additional 25+ problems.
|
|
File size:
616 bytes
|
| Line | |
|---|
| 1 | /* SPDX-License-Identifier: GPL-2.0 */
|
|---|
| 2 | /*
|
|---|
| 3 | * HD-Audio helpers to sync with i915 driver
|
|---|
| 4 | */
|
|---|
| 5 | #ifndef __SOUND_HDA_I915_H
|
|---|
| 6 | #define __SOUND_HDA_I915_H
|
|---|
| 7 |
|
|---|
| 8 | #include "hda_component.h"
|
|---|
| 9 |
|
|---|
| 10 | #ifdef CONFIG_SND_HDA_I915
|
|---|
| 11 | void snd_hdac_i915_set_bclk(struct hdac_bus *bus);
|
|---|
| 12 | int snd_hdac_i915_init(struct hdac_bus *bus);
|
|---|
| 13 | #else
|
|---|
| 14 | static inline void snd_hdac_i915_set_bclk(struct hdac_bus *bus)
|
|---|
| 15 | {
|
|---|
| 16 | }
|
|---|
| 17 | static inline int snd_hdac_i915_init(struct hdac_bus *bus)
|
|---|
| 18 | {
|
|---|
| 19 | return -ENODEV;
|
|---|
| 20 | }
|
|---|
| 21 | #endif
|
|---|
| 22 | static inline int snd_hdac_i915_exit(struct hdac_bus *bus)
|
|---|
| 23 | {
|
|---|
| 24 | return snd_hdac_acomp_exit(bus);
|
|---|
| 25 | }
|
|---|
| 26 |
|
|---|
| 27 | #endif /* __SOUND_HDA_I915_H */
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.