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
Sasha Finkelstein authored and marcan committed Sep 24, 2024
1 parent 48837f4 commit a42c839
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 @@ -675,9 +675,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 a42c839

Please sign in to comment.