ASoC: wsa883x: Add support for second instance of WSA

Add support for second instance of WSA speaker amplifier.

Change-Id: Ia0a19d86f2fdc7a4b3b42812ccba23bbf05bd6b4
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
This commit is contained in:
Sudheer Papothi
2021-02-08 10:38:33 +05:30
parent 8bffa00160
commit 5c8376d255

View File

@@ -1950,6 +1950,7 @@ static const struct dev_pm_ops wsa883x_swr_pm_ops = {
static const struct swr_device_id wsa883x_swr_id[] = {
{"wsa883x", 0},
{"wsa883x_2", 0},
{}
};
@@ -1957,6 +1958,9 @@ static const struct of_device_id wsa883x_swr_dt_match[] = {
{
.compatible = "qcom,wsa883x",
},
{
.compatible = "qcom,wsa883x_2",
},
{}
};