diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-10-16 12:35:49 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-10-20 11:14:59 +0300 |
commit | 4f9e0c38c5e991e2d050d13e28be74b93ab704c0 (patch) | |
tree | 8dad6f02e47df1690f97cadf778220079b3324b1 /include/sound/hdaudio.h | |
parent | da23ac1e40ce844d1a9553906bdacce160af76f6 (diff) | |
download | linux-4f9e0c38c5e991e2d050d13e28be74b93ab704c0.tar.xz |
ALSA: hda - Add a common helper to give the codec modalias string
This patch provide a new common helper function,
snd_hdac_codec_modalias(), to give the codec modalias name string.
This function will be used by multiple places in the later patches.
Reviewed-by: Vinod Koul <vinod.koul@intel.com>
Tested-by: Subhransu S Prusty <subhransu.s.prusty@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound/hdaudio.h')
-rw-r--r-- | include/sound/hdaudio.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/hdaudio.h b/include/sound/hdaudio.h index ddca48eb02e0..e2b712c90d3f 100644 --- a/include/sound/hdaudio.h +++ b/include/sound/hdaudio.h @@ -109,6 +109,7 @@ void snd_hdac_device_exit(struct hdac_device *dev); int snd_hdac_device_register(struct hdac_device *codec); void snd_hdac_device_unregister(struct hdac_device *codec); int snd_hdac_device_set_chip_name(struct hdac_device *codec, const char *name); +int snd_hdac_codec_modalias(struct hdac_device *hdac, char *buf, size_t size); int snd_hdac_refresh_widgets(struct hdac_device *codec); int snd_hdac_refresh_widget_sysfs(struct hdac_device *codec); |