mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-21 22:23:05 +00:00
z2: Deal with missing calibration data
(by not sending anything in that case) Signed-off-by: Sasha Finkelstein <fnkl.kernel@gmail.com>
This commit is contained in:
parent
48837f4d47
commit
a42c839120
1 changed files with 1 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue