mirror of
https://github.com/wessel-novacustom/clevo-keyboard.git
synced 2024-11-15 03:34:01 +01:00
Add address to BFLG debug output
This commit is contained in:
parent
67e6d3cace
commit
a2a7cbb8da
|
@ -131,7 +131,7 @@ static u32 uw_ec_read_addr_direct(u8 addr_low, u8 addr_high, union uw_ec_read_re
|
||||||
|
|
||||||
ec_read(UNIWILL_EC_REG_FLAGS, &flags);
|
ec_read(UNIWILL_EC_REG_FLAGS, &flags);
|
||||||
if ((flags & (1 << UNIWILL_EC_BIT_BFLG)) > 0) {
|
if ((flags & (1 << UNIWILL_EC_BIT_BFLG)) > 0) {
|
||||||
pr_debug("read: BFLG set\n");
|
pr_debug("read: BFLG set (high: 0x%0#2x, low: %0#2x)\n", addr_high, addr_low);
|
||||||
|
|
||||||
// Note: weird behaviour but BFLG is always zeroed
|
// Note: weird behaviour but BFLG is always zeroed
|
||||||
flags &= ~(1 << UNIWILL_EC_BIT_BFLG);
|
flags &= ~(1 << UNIWILL_EC_BIT_BFLG);
|
||||||
|
|
Loading…
Reference in a new issue