From 5c8376d25515af9b2e054c840a119d42418c11a6 Mon Sep 17 00:00:00 2001 From: Sudheer Papothi Date: Mon, 8 Feb 2021 10:38:33 +0530 Subject: [PATCH] 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 --- asoc/codecs/wsa883x/wsa883x.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/asoc/codecs/wsa883x/wsa883x.c b/asoc/codecs/wsa883x/wsa883x.c index 7ce0d1d748..0a9916d45a 100644 --- a/asoc/codecs/wsa883x/wsa883x.c +++ b/asoc/codecs/wsa883x/wsa883x.c @@ -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", + }, {} };