ALSA: hda - Add a common helper to give the codec modalias string
authorTakashi Iwai <tiwai@suse.de>
Fri, 16 Oct 2015 09:35:49 +0000 (11:35 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 20 Oct 2015 08:14:59 +0000 (10:14 +0200)
commit4f9e0c38c5e991e2d050d13e28be74b93ab704c0
tree8dad6f02e47df1690f97cadf778220079b3324b1
parentda23ac1e40ce844d1a9553906bdacce160af76f6
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>
include/sound/hdaudio.h
sound/hda/hdac_device.c