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

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

Merge "ASoC: msm: LiQUID: Jump to the section which free the GPIO properly"

parents 4f8c8365 e2bd80d5
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -377,7 +377,7 @@ static int msm8994_liquid_dock_notify_handler(struct notifier_block *this,
		if (ret < 0) {
			pr_err("%s: Request Irq Failed err = %d\n",
				__func__, ret);
			goto fail_dock_gpio;
			goto fail_gpio_irq;
		}

		switch_set_state(&msm8994_liquid_dock_dev->audio_sdev,
@@ -395,9 +395,10 @@ static int msm8994_liquid_dock_notify_handler(struct notifier_block *this,
	}
	return NOTIFY_OK;

fail_dock_gpio:
fail_gpio_irq:
	gpio_free(msm8994_liquid_dock_dev->plug_gpio);

fail_dock_gpio:
	return NOTIFY_DONE;
}