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

Commit 4c392573 authored by Fei Mao's avatar Fei Mao
Browse files

input: touchscreen: mxt: irq handler return value



This irq is only for touchscreen, not shared with others.
When meets errors, just ignore it, and don't throw again.

Change-Id: I926f645bd1e763792386aa74cedcf649d88b18a9
Signed-off-by: default avatarFei Mao <feim1@codeaurora.org>
parent 6a91a7d5
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -1222,10 +1222,12 @@ static irqreturn_t mxt_interrupt(int irq, void *dev_id)
		return IRQ_HANDLED;

	if (data->T44_address) {
		return mxt_process_messages_t44(data);
		mxt_process_messages_t44(data);
	} else {
		return mxt_process_messages(data);
		mxt_process_messages(data);
	}

	return IRQ_HANDLED;
}

static int mxt_t6_command(struct mxt_data *data, u16 cmd_offset,