diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-10-15 21:35:53 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-10-20 10:14:17 +0200 |
commit | 93ed8560e98afc486df94f5a6238c1f0894b38b8 (patch) | |
tree | 51959390476a794b34f05642f02a6023754ebefd /sound/hda | |
parent | ALSA: hda - Update mixer name for the lower codec address (diff) | |
download | linux-93ed8560e98afc486df94f5a6238c1f0894b38b8.tar.xz linux-93ed8560e98afc486df94f5a6238c1f0894b38b8.zip |
ALSA: hda - Add api_version to hda_device_id struct
For distinguishing the difference between HDA legacy and ext codec
driver entries, we need to expose the value corresponding to type
field. This patch adds a new field, api_version, to hda_device_id
struct, so that this information is embedded in modalias string.
Although the information is basically redundant (struct hdac_device
already has type field), the helper that extracts from
MODULE_DEVICE_TABLE() won't take it account except for the exported
table entries themselves. So we need to put the same information in
the table, too.
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 'sound/hda')
0 files changed, 0 insertions, 0 deletions