OSDN Git Service

platform/x86: ideapad-laptop: Add new _CFG bit numbers for future use
authorEray Orçunus <erayorcunus@gmail.com>
Sat, 29 Oct 2022 12:03:09 +0000 (15:03 +0300)
committerHans de Goede <hdegoede@redhat.com>
Wed, 16 Nov 2022 07:48:19 +0000 (08:48 +0100)
commitbe5dd7d8359de9fb22115a63f09981cdf689db4f
tree266b53db66c42db83f70a18cc40bdefdc327386c
parent5831882880e9a1749553e78f9d8369fe33116aaf
platform/x86: ideapad-laptop: Add new _CFG bit numbers for future use

Later IdeaPads report various things in last 8 bits of _CFG, at least
5 of them represent supported on-screen-displays. Add those bit numbers
to the enum, and use CFG_OSD_ as prefix of their names. Also expose
the values of these bits to debugfs, since they can be useful.

Signed-off-by: Eray Orçunus <erayorcunus@gmail.com>
Acked-by: Ike Panhc <ike.pan@canonical.com>
Link: https://lore.kernel.org/r/20221029120311.11152-5-erayorcunus@gmail.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/ideapad-laptop.c