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

Commit 2c23b0c1 authored by Mark Brown's avatar Mark Brown
Browse files

Merge branch 'fix/rt5645' of...

Merge branch 'fix/rt5645' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-rt5645
parents 9fc114c5 f2a5ded3
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2927,6 +2927,9 @@ static void rt5645_jack_detect_work(struct work_struct *work)
		container_of(work, struct rt5645_priv, jack_detect_work.work);
	int val, btn_type, gpio_state = 0, report = 0;

	if (!rt5645->codec)
		return -EINVAL;

	switch (rt5645->pdata.jd_mode) {
	case 0: /* Not using rt5645 JD */
		if (rt5645->gpiod_hp_det) {