linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Aaron Armstrong Skomra <skomra@gmail.com>
To: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org,
	benjamin.tissoires@redhat.com, jikos@kernel.org
Cc: pinglinux@gmail.com, skomra@gmail.com, Joshua@Joshua-Dickens.com,
	jason.gerecke@wacom.com, stable@vger.kernel.org
Subject: [PATCH Wacom EKR Battery Fixes 0/3]
Date: Tue, 25 Jul 2023 15:19:36 -0700	[thread overview]
Message-ID: <20230725221936.123775-1-skomra@gmail.com> (raw)

Currently the ExpressKey Remote battery will persist indefinitely in
/sys/class/power_supply. Remove the battery when we stop getting
reports from the device.

Also remove some unneccessary code and make an EKR struct name more
descriptive.

Only the bugfix in the first patch will be sent to stable.

Aaron Armstrong Skomra (3):
  HID: wacom: remove the battery when the EKR is off
  HID: wacom: remove unnecessary 'connected' variable from EKR
  HID: wacom: struct name cleanup

 drivers/hid/wacom.h     |  1 +
 drivers/hid/wacom_sys.c | 44 +++++++++++++++++++++++++++++------------
 drivers/hid/wacom_wac.c |  7 +++----
 drivers/hid/wacom_wac.h |  4 ++--
 4 files changed, 37 insertions(+), 19 deletions(-)

-- 
2.34.1


             reply	other threads:[~2023-07-25 22:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-25 22:19 Aaron Armstrong Skomra [this message]
2023-08-14  9:44 ` [PATCH Wacom EKR Battery Fixes 0/3] Jiri Kosina

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230725221936.123775-1-skomra@gmail.com \
    --to=skomra@gmail.com \
    --cc=Joshua@Joshua-Dickens.com \
    --cc=benjamin.tissoires@redhat.com \
    --cc=jason.gerecke@wacom.com \
    --cc=jikos@kernel.org \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pinglinux@gmail.com \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).