Re: [PATCH] hid-input: Fix devices that return multiple bytes in battery report

2020-07-15 Thread Sasha Levin
Hi [This is an automated email] This commit has been processed because it contains a -stable tag. The stable tag indicates that it's relevant for the following trees: all The bot has tested the following trees: v5.7.8, v5.4.51, v4.19.132, v4.14.188, v4.9.230, v4.4.230. v5.7.8: Build OK!

Re: [PATCH] hid-input: Fix devices that return multiple bytes in battery report

2020-07-14 Thread Jiri Kosina
On Fri, 10 Jul 2020, Darren Hart wrote: > > Some devices, particularly the 3DConnexion Spacemouse wireless 3D > > controllers, return more than just the battery capacity in the battery > > report. The Spacemouse devices return an additional byte with a device > > specific field. However,

Re: [PATCH] hid-input: Fix devices that return multiple bytes in battery report

2020-07-10 Thread Darren Hart
On Fri, Jul 10, 2020 at 8:19 AM Grant Likely wrote: > > Some devices, particularly the 3DConnexion Spacemouse wireless 3D > controllers, return more than just the battery capacity in the battery > report. The Spacemouse devices return an additional byte with a device > specific field. However,

[PATCH] hid-input: Fix devices that return multiple bytes in battery report

2020-07-10 Thread Grant Likely
Some devices, particularly the 3DConnexion Spacemouse wireless 3D controllers, return more than just the battery capacity in the battery report. The Spacemouse devices return an additional byte with a device specific field. However, hidinput_query_battery_capacity() only requests a 2 byte