Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eff534c1 authored by Jingwei Wang's avatar Jingwei Wang Committed by argus.lin
Browse files

[ALPS08857708] ASoC:mt6681: fix system api dump issue



[Description]
baypass and let it retry when first regmap error

[Test]
Build pass and basic audio test pass

MTK-Commit-Id: 863d505b47e3494a8c1d0ae030e5a3c9048d1210

CR-Id: ALPS08857708
Feature: alsa_sound_soc
Change-Id: Ic7425c4e66104842fd28bc328af7009051b0a11c
Signed-off-by: default avatarJingwei Wang <ot_jingwei.wang@mediatek.com>
parent 9c56b896
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -203,7 +203,7 @@ static int mt6681_check_id(struct mt6681_pmic_info *mpi)
	ret = regmap_read(mpi->regmap, MT6681_SWCID_H, &data);
	if (ret < 0) {
		dev_info(mpi->dev, "device not found %d\n", ret);
		return ret;
		//return ret;
	}
	if (data != MT6681_SWCID_H_CODE) {
		dev_info(mpi->dev, "data = %d, not mt6681 chip\n", data);