diff options
author | Senthilnathan Veppur <senthilnathanx.veppur@intel.com> | 2017-02-09 16:44:01 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-02-16 18:58:09 +0000 |
commit | db2f586b803eb6a7974098dd8ce1201f048071d0 (patch) | |
tree | 5a52fc06e122c3eb52e3d874c7da1880eb16bd1e /sound/soc/intel/skylake/skl.h | |
parent | c5cf9f37a0fb6e50d68f6dcf58b93b2c47c780a1 (diff) | |
download | lwn-db2f586b803eb6a7974098dd8ce1201f048071d0.tar.gz lwn-db2f586b803eb6a7974098dd8ce1201f048071d0.zip |
ASoC: Intel: Skylake: Check device type to get endpoint configuration
Geminilake has two different devices connected to the same SSP, so use
device_type check to get correct device configuration.
Signed-off-by: Senthilnathan Veppur <senthilnathanx.veppur@intel.com>
Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/skylake/skl.h')
-rw-r--r-- | sound/soc/intel/skylake/skl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/intel/skylake/skl.h b/sound/soc/intel/skylake/skl.h index 0a1b02e21277..bbef77d2b917 100644 --- a/sound/soc/intel/skylake/skl.h +++ b/sound/soc/intel/skylake/skl.h @@ -118,7 +118,8 @@ int skl_platform_register(struct device *dev); struct nhlt_acpi_table *skl_nhlt_init(struct device *dev); void skl_nhlt_free(struct nhlt_acpi_table *addr); struct nhlt_specific_cfg *skl_get_ep_blob(struct skl *skl, u32 instance, - u8 link_type, u8 s_fmt, u8 no_ch, u32 s_rate, u8 dirn); + u8 link_type, u8 s_fmt, u8 no_ch, + u32 s_rate, u8 dirn, u8 dev_type); int skl_get_dmic_geo(struct skl *skl); int skl_nhlt_update_topology_bin(struct skl *skl); |