On Wed, Oct 7, 2015 at 4:52 PM, Jason Gerecke <killert...@gmail.com> wrote:

> As outlined in commit ea90b47, the power supply interface changed around
> Linux 4.1. This patch fixes up the usage of that interface by the
> ExpressKey Remote which was introduced in 6efc626.
>
> Signed-off-by: Jason Gerecke <jason.gere...@wacom.com>
>

Reviewed-by: Ping Cheng <pi...@wacom.com>

Thank you Jason for the quick fix.

Ping

---
>  3.17/wacom_wac.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/3.17/wacom_wac.c b/3.17/wacom_wac.c
> index 9850ffe..972c735 100644
> --- a/3.17/wacom_wac.c
> +++ b/3.17/wacom_wac.c
> @@ -698,7 +698,7 @@ static int wacom_remote_irq(struct wacom_wac
> *wacom_wac, size_t len)
>                         wacom->led.select[i] = touch_ring_mode;
>         }
>
> -       if (!wacom->battery &&
> +       if (!WACOM_POWERSUPPLY_DEVICE(wacom->battery) &&
>             !(features->quirks & WACOM_QUIRK_BATTERY)) {
>                 features->quirks |= WACOM_QUIRK_BATTERY;
>                 INIT_WORK(&wacom->work, wacom_battery_work);
> --
> 2.6.1
>
>
------------------------------------------------------------------------------
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to