Commit 9e473058 authored by Pierre-Louis Bossart's avatar Pierre-Louis Bossart Committed by Mark Brown

ASoC: codecs: rt*-sdw: use SDW_SLAVE_ENTRY_EXT

Add version and class information explicitly to prepare for support
for new devices.
Signed-off-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: default avatarBard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: default avatarRander Wang <rander.wang@linux.intel.com>
Reviewed-by: default avatarGuennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Reviewed-by: default avatarKai Vehmanen <kai.vehmanen@linux.intel.com>
Link: https://lore.kernel.org/r/20200818141435.29205-1-yung-chuan.liao@linux.intel.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent a8535ae7
...@@ -693,7 +693,7 @@ static int rt1308_sdw_probe(struct sdw_slave *slave, ...@@ -693,7 +693,7 @@ static int rt1308_sdw_probe(struct sdw_slave *slave,
} }
static const struct sdw_device_id rt1308_id[] = { static const struct sdw_device_id rt1308_id[] = {
SDW_SLAVE_ENTRY(0x025d, 0x1308, 0), SDW_SLAVE_ENTRY_EXT(0x025d, 0x1308, 0x2, 0, 0),
{}, {},
}; };
MODULE_DEVICE_TABLE(sdw, rt1308_id); MODULE_DEVICE_TABLE(sdw, rt1308_id);
......
...@@ -717,7 +717,7 @@ static int rt5682_sdw_remove(struct sdw_slave *slave) ...@@ -717,7 +717,7 @@ static int rt5682_sdw_remove(struct sdw_slave *slave)
} }
static const struct sdw_device_id rt5682_id[] = { static const struct sdw_device_id rt5682_id[] = {
SDW_SLAVE_ENTRY(0x025d, 0x5682, 0), SDW_SLAVE_ENTRY_EXT(0x025d, 0x5682, 0x2, 0, 0),
{}, {},
}; };
MODULE_DEVICE_TABLE(sdw, rt5682_id); MODULE_DEVICE_TABLE(sdw, rt5682_id);
......
...@@ -478,7 +478,7 @@ static int rt700_sdw_remove(struct sdw_slave *slave) ...@@ -478,7 +478,7 @@ static int rt700_sdw_remove(struct sdw_slave *slave)
} }
static const struct sdw_device_id rt700_id[] = { static const struct sdw_device_id rt700_id[] = {
SDW_SLAVE_ENTRY(0x025d, 0x700, 0), SDW_SLAVE_ENTRY_EXT(0x025d, 0x700, 0x1, 0, 0),
{}, {},
}; };
MODULE_DEVICE_TABLE(sdw, rt700_id); MODULE_DEVICE_TABLE(sdw, rt700_id);
......
...@@ -479,7 +479,7 @@ static int rt711_sdw_remove(struct sdw_slave *slave) ...@@ -479,7 +479,7 @@ static int rt711_sdw_remove(struct sdw_slave *slave)
} }
static const struct sdw_device_id rt711_id[] = { static const struct sdw_device_id rt711_id[] = {
SDW_SLAVE_ENTRY(0x025d, 0x711, 0), SDW_SLAVE_ENTRY_EXT(0x025d, 0x711, 0x2, 0, 0),
{}, {},
}; };
MODULE_DEVICE_TABLE(sdw, rt711_id); MODULE_DEVICE_TABLE(sdw, rt711_id);
......
...@@ -541,7 +541,7 @@ static int rt715_sdw_probe(struct sdw_slave *slave, ...@@ -541,7 +541,7 @@ static int rt715_sdw_probe(struct sdw_slave *slave,
} }
static const struct sdw_device_id rt715_id[] = { static const struct sdw_device_id rt715_id[] = {
SDW_SLAVE_ENTRY(0x025d, 0x715, 0), SDW_SLAVE_ENTRY_EXT(0x025d, 0x715, 0x2, 0, 0),
{}, {},
}; };
MODULE_DEVICE_TABLE(sdw, rt715_id); MODULE_DEVICE_TABLE(sdw, rt715_id);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment