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

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

Merge "msm: keypad: fix half level voltage after keyscan on 8905"

parents 57f43ca2 e875cf55
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -142,6 +142,10 @@ static void matrix_keypad_scan(struct work_struct *work)
		if (new_state[col])
			count_state++;
		activate_col(pdata, col, false);
		for (row = 0; row < pdata->num_row_gpios; row++) {
			gpio_direction_output(pdata->row_gpios[row], 0);
			gpio_direction_input(pdata->row_gpios[row]);
		}
	}

	if (count_state == 5)