[PATCH 2/2] ASoC: codecs: sn624x: update SDCA helper call sites

Qianghua Wang <[email protected]>
Newsgroups org.kernel.vger.linux-sound
Message-ID <[email protected]>
Current SDCA helpers drop the unused device argument from
sdca_asoc_pde_poll_actual_ps() and the SoundWire slave argument
from sdca_parse_function(). Update the SN624x call sites to match
so the driver builds against current for-next.

Signed-off-by: Qianghua Wang <[email protected]>
---
 sound/soc/codecs/sn624x-sdca-sdw.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sound/soc/codecs/sn624x-sdca-sdw.c b/sound/soc/codecs/sn624x-sdca-sdw.c
index 8fd37f18fe5e..c9e690482e8e 100644
--- a/sound/soc/codecs/sn624x-sdca-sdw.c
+++ b/sound/soc/codecs/sn624x-sdca-sdw.c
@@ -409,7 +409,7 @@ static int sn624x_pde_request_ps(struct device *dev, struct regmap *regmap,
 		return ret;
 	}
 
-	ret = sdca_asoc_pde_poll_actual_ps(dev, regmap, fun, ent,
+	ret = sdca_asoc_pde_poll_actual_ps(regmap, fun, ent,
 					   from_ps, ps,
 					   delays, ARRAY_SIZE(delays));
 	if (ret < 0)
@@ -743,7 +743,7 @@ static int sn624x_parse_sdca_functions(struct sn624x_sdca_priv *sn624x)
 			return -ENOMEM;
 
 		fn->desc = desc;
-		ret = sdca_parse_function(dev, slave, fn);
+		ret = sdca_parse_function(dev, fn);
 		if (ret) {
 			/*
 			 * sdca_parse_function() reads the ACPI
-- 
2.47.3
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.