Skip to content

Commit

Permalink
input: ts: sec_ts: Remove spam from event buffer empty
Browse files Browse the repository at this point in the history
On some devices like Xperia 10 II this can happen dozens of times
just by touching the screen, remove the message and explain.

The event buffer is empty message is triggered by a bug since the event buffer isn't supposed
to be empty. However since the bug has no real impact so far and the message
is filling up the kernel logs we disable the message.

Fixes: sonyxperiadev/bug_tracker#738
Signed-off-by: Björn Bidar <bjorn.bidar@jolla.com>
  • Loading branch information
Thaodan authored and jerpelea committed Dec 19, 2022
1 parent 77b8844 commit 6e893e5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/input/touchscreen/sec_ts/sec_ts.c
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,6 @@ static void sec_ts_read_event(struct sec_ts_data *ts)
read_event_buff[0][6], read_event_buff[0][7]);

if (read_event_buff[0][0] == 0) {
dev_info_ratelimited(&ts->client->dev, "%s: event buffer is empty\n", __func__);
return;
}

Expand Down

0 comments on commit 6e893e5

Please sign in to comment.