Skip to content

Commit c963239

Browse files
committed
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: Pierre-Louis Bossart <[email protected]> Reviewed-by: Rander Wang <[email protected]> Reviewed-by: Bard Liao <[email protected]> Reviewed-by: Guennadi Liakhovetski <[email protected]> Reviewed-by: Kai Vehmanen <[email protected]>
1 parent 4c6e88b commit c963239

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

sound/soc/codecs/rt1308-sdw.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -693,7 +693,7 @@ static int rt1308_sdw_probe(struct sdw_slave *slave,
693693
}
694694

695695
static const struct sdw_device_id rt1308_id[] = {
696-
SDW_SLAVE_ENTRY(0x025d, 0x1308, 0),
696+
SDW_SLAVE_ENTRY_EXT(0x025d, 0x1308, 0x2, 0, 0),
697697
{},
698698
};
699699
MODULE_DEVICE_TABLE(sdw, rt1308_id);

sound/soc/codecs/rt5682-sdw.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -717,7 +717,7 @@ static int rt5682_sdw_remove(struct sdw_slave *slave)
717717
}
718718

719719
static const struct sdw_device_id rt5682_id[] = {
720-
SDW_SLAVE_ENTRY(0x025d, 0x5682, 0),
720+
SDW_SLAVE_ENTRY_EXT(0x025d, 0x5682, 0x2, 0, 0),
721721
{},
722722
};
723723
MODULE_DEVICE_TABLE(sdw, rt5682_id);

sound/soc/codecs/rt700-sdw.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ static int rt700_sdw_remove(struct sdw_slave *slave)
478478
}
479479

480480
static const struct sdw_device_id rt700_id[] = {
481-
SDW_SLAVE_ENTRY(0x025d, 0x700, 0),
481+
SDW_SLAVE_ENTRY_EXT(0x025d, 0x700, 0x1, 0, 0),
482482
{},
483483
};
484484
MODULE_DEVICE_TABLE(sdw, rt700_id);

sound/soc/codecs/rt711-sdw.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ static int rt711_sdw_remove(struct sdw_slave *slave)
479479
}
480480

481481
static const struct sdw_device_id rt711_id[] = {
482-
SDW_SLAVE_ENTRY(0x025d, 0x711, 0),
482+
SDW_SLAVE_ENTRY_EXT(0x025d, 0x711, 0x2, 0, 0),
483483
{},
484484
};
485485
MODULE_DEVICE_TABLE(sdw, rt711_id);

sound/soc/codecs/rt715-sdw.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ static int rt715_sdw_probe(struct sdw_slave *slave,
522522
}
523523

524524
static const struct sdw_device_id rt715_id[] = {
525-
SDW_SLAVE_ENTRY(0x025d, 0x715, 0),
525+
SDW_SLAVE_ENTRY_EXT(0x025d, 0x715, 0x2, 0, 0),
526526
{},
527527
};
528528
MODULE_DEVICE_TABLE(sdw, rt715_id);

0 commit comments

Comments
 (0)