Skip to content

Commit

Permalink
platform/x86: asus-wmi: Reorder ASUS_WMI_CHARGE_THRESHOLD
Browse files Browse the repository at this point in the history
At the same time add a comment explaining what it is used for.

Signed-off-by: Kristian Klausen <kristian@klausen.dk>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
  • Loading branch information
Kristian Klausen authored and Andy Shevchenko committed Sep 9, 2019
1 parent 1233c7b commit 7c28503
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion include/linux/platform_data/x86/asus-wmi.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@

/* Misc */
#define ASUS_WMI_DEVID_CAMERA 0x00060013
#define ASUS_WMI_CHARGE_THRESHOLD 0x00120057

/* Storage */
#define ASUS_WMI_DEVID_CARDREADER 0x00080013
Expand All @@ -82,6 +81,9 @@
/* Deep S3 / Resume on LID open */
#define ASUS_WMI_DEVID_LID_RESUME 0x00120031

/* Maximum charging percentage */
#define ASUS_WMI_CHARGE_THRESHOLD 0x00120057

/* DSTS masks */
#define ASUS_WMI_DSTS_STATUS_BIT 0x00000001
#define ASUS_WMI_DSTS_UNKNOWN_BIT 0x00000002
Expand Down

0 comments on commit 7c28503

Please sign in to comment.