Skip to content

Commit a42c839

Browse files
WhatAmISupposedToPutHeremarcan
authored andcommitted
z2: Deal with missing calibration data
(by not sending anything in that case) Signed-off-by: Sasha Finkelstein <[email protected]>
1 parent 48837f4 commit a42c839

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/kboot.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -675,9 +675,7 @@ static int dt_set_multitouch(void)
675675
u32 len;
676676
const u8 *cal_blob = adt_getprop(adt, anode, "multi-touch-calibration", &len);
677677
if (!cal_blob || !len) {
678-
printf("ADT: Failed to get multi-touch-calibration from %s, disable %s\n", adt_touchbar,
679-
fdt_get_name(dt, node, NULL));
680-
fdt_setprop_string(dt, node, "status", "disabled");
678+
printf("ADT: Failed to get multi-touch-calibration from %s\n", adt_touchbar);
681679
return 0;
682680
}
683681

0 commit comments

Comments
 (0)