Skip to content

Commit

Permalink
fixup! adp5588: add fw support
Browse files Browse the repository at this point in the history
  • Loading branch information
nunojsa committed Sep 18, 2024
1 parent 0f1f066 commit 655b940
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/input/keyboard/adp5589-keys.c
Original file line number Diff line number Diff line change
Expand Up @@ -1047,7 +1047,7 @@ static int adp5589_reset_parse(struct adp5589_kpad *kpad)
* Then C4 is used as reset output. Make sure it's not being used
* in the keypad.
*/
if (BIT(12) & kpad->keypad_en_mask)
if (BIT(kpad->info->c4_extend_cfg) & kpad->keypad_en_mask)
return dev_err_probe(&client->dev, -EINVAL,
"Col4 cannot be used if reset2 is used\n");

Expand Down

0 comments on commit 655b940

Please sign in to comment.