Skip to content

Commit

Permalink
z2: Deal with missing calibration data
Browse files Browse the repository at this point in the history
(by not sending anything in that case)

Signed-off-by: Sasha Finkelstein <fnkl.kernel@gmail.com>
  • Loading branch information
WhatAmISupposedToPutHere committed Feb 2, 2024
1 parent 3b9a714 commit 112d677
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/kboot.c
Original file line number Diff line number Diff line change
Expand Up @@ -674,9 +674,7 @@ static int dt_set_multitouch(void)
u32 len;
const u8 *cal_blob = adt_getprop(adt, anode, "multi-touch-calibration", &len);
if (!cal_blob || !len) {
printf("ADT: Failed to get multi-touch-calibration from %s, disable %s\n", adt_touchbar,
fdt_get_name(dt, node, NULL));
fdt_setprop_string(dt, node, "status", "disabled");
printf("ADT: Failed to get multi-touch-calibration from %s\n", adt_touchbar);
return 0;
}

Expand Down

0 comments on commit 112d677

Please sign in to comment.