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

Commit 9bca3eb5 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ASoC: codec: enable power supply for wcd9326 on apq8009"

parents 8680bf0f 59a583a6
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
/* Copyright (c) 2011-2017, The Linux Foundation. All rights reserved.
/* Copyright (c) 2011-2018, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -1069,6 +1069,9 @@ static int wcd9xxx_i2c_probe(struct i2c_client *client,
		if (client->dev.of_node)
			wcd9xxx->mclk_rate = pdata->mclk_rate;

		if (pdata->has_buck_vsel_gpio)
			msm_cdc_pinctrl_select_active_state(pdata->buck_vsel_ctl_np);

		wcd9xxx->num_of_supplies = pdata->num_supplies;
		ret = msm_cdc_init_supplies(wcd9xxx->dev, &wcd9xxx->supplies,
					    pdata->regulator,