Add debug print

This commit is contained in:
Werner Sembach 2023-05-09 20:44:20 +02:00
parent e2e69ea79d
commit 6e140060e2

View file

@ -179,6 +179,7 @@ int uniwill_leds_init_early(struct platform_device *dev)
pr_err("Reading barebone ID failed.\n"); pr_err("Reading barebone ID failed.\n");
return ret; return ret;
} }
pr_debug("EC Barebone ID: %#04x\n", data);
if (data == UW_EC_REG_BAREBONE_ID_VALUE_PFxxxxx || if (data == UW_EC_REG_BAREBONE_ID_VALUE_PFxxxxx ||
data == UW_EC_REG_BAREBONE_ID_VALUE_PFxMxxx || data == UW_EC_REG_BAREBONE_ID_VALUE_PFxMxxx ||