Skip to content

Commit 67cb608

Browse files
wensbroonie
authored andcommitted
regulator: mt6358: Fix incorrect VCN33 sync error message
After syncing the enable status of VCN33_WIFI to VCN33_BT, the driver will disable VCN33_WIFI. If it fails it will error out with a message. However the error message incorrectly refers to VCN33_BT. Fix the error message so that it correctly refers to VCN33_WIFI. Suggested-by: Fei Shao <[email protected]> Fixes: 65bae54 ("regulator: mt6358: Merge VCN33_* regulators") Signed-off-by: Chen-Yu Tsai <[email protected]> Reviewed-by: AngeloGioacchino Del Regno <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 649fee5 commit 67cb608

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/regulator/mt6358-regulator.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,7 @@ static int mt6358_sync_vcn33_setting(struct device *dev)
661661
/* Disable VCN33_WIFI */
662662
ret = regmap_update_bits(mt6397->regmap, MT6358_LDO_VCN33_CON0_1, BIT(0), 0);
663663
if (ret) {
664-
dev_err(dev, "Failed to disable VCN33_BT\n");
664+
dev_err(dev, "Failed to disable VCN33_WIFI\n");
665665
return ret;
666666
}
667667

0 commit comments

Comments
 (0)