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

Commit c8f4b7fd authored by Axel Lin's avatar Axel Lin Committed by Mark Brown
Browse files

ASoC: alc5623: Remove unused mutex

parent 27b6d92a
Loading
Loading
Loading
Loading
+0 −2
Original line number Original line Diff line number Diff line
@@ -41,7 +41,6 @@ MODULE_PARM_DESC(caps_charge, "ALC5623 cap charge time (msecs)");
struct alc5623_priv {
struct alc5623_priv {
	enum snd_soc_control_type control_type;
	enum snd_soc_control_type control_type;
	void *control_data;
	void *control_data;
	struct mutex mutex;
	u8 id;
	u8 id;
	unsigned int sysclk;
	unsigned int sysclk;
	u16 reg_cache[ALC5623_VENDOR_ID2+2];
	u16 reg_cache[ALC5623_VENDOR_ID2+2];
@@ -1052,7 +1051,6 @@ static int alc5623_i2c_probe(struct i2c_client *client,
	i2c_set_clientdata(client, alc5623);
	i2c_set_clientdata(client, alc5623);
	alc5623->control_data = client;
	alc5623->control_data = client;
	alc5623->control_type = SND_SOC_I2C;
	alc5623->control_type = SND_SOC_I2C;
	mutex_init(&alc5623->mutex);


	ret =  snd_soc_register_codec(&client->dev,
	ret =  snd_soc_register_codec(&client->dev,
		&soc_codec_device_alc5623, &alc5623_dai, 1);
		&soc_codec_device_alc5623, &alc5623_dai, 1);