The variable i is used to check the port to attach to and we are
supposed to save the reference of struct gc in the location given by
gc_base[i]. But after finding out the index, i is getting modified again
so we saved in a wrong index.
Reported-by: Dan Carpenter
Fixes:
The variable i is used to check the port to attach to and we are
supposed to save the reference of struct db9 in the location given by
db9_base[i]. But after finding out the index, i is getting modified again
so we saved in a wrong index.
While at it mark db9_base[i] as NULL after it is freed.
The variable i is used to check the port to attach to and we are
supposed to save the reference of struct tgfx in the location given by
tgfx_base[i]. But after finding out the index, i is getting modified
again so we saved in a wrong index.
Fixes: 4de27a638a99 ("Input: turbografx - use parallel
Hello Dmitry,
On 10/02/2015 08:25 PM, Dmitry Torokhov wrote:
> Hi Javier,
>
> On Fri, Oct 02, 2015 at 03:40:11PM +0200, Javier Martinez Canillas wrote:
>> Hello Dmitry,
>>
>> This series contains trivial patches with fixes to different warnings
>> reported by make coccichek M=drivers/input.
>>
The WiiU adapter from Mayflash (see
http://www.mayflash.com/Products/NINTENDOWiiU/W009.html) is not working
correctly.
The "XInput" mode works fine, the controller is recognized as a xbox
controller. But it is only possible to connect one controller with this method.
In "DInput" mode the
Oliver Schmitt writes:
Hi,
> The WiiU adapter from Mayflash (see
> http://www.mayflash.com/Products/NINTENDOWiiU/W009.html) is not working
> correctly.
>
> The "XInput" mode works fine, the controller is recognized as a xbox
> controller. But it is only possible to connect
On 16 December 2013 at 21:10, Ben Gamari wrote:
> ---
> drivers/input/misc/rotary_encoder.c | 9 +++--
> 1 file changed, 3 insertions(+), 6 deletions(-)
>
> diff --git a/drivers/input/misc/rotary_encoder.c
> b/drivers/input/misc/rotary_encoder.c
> index
On 30/09/15 20:40, Jiri Kosina wrote:
> On Wed, 30 Sep 2015, Luis de Bethencourt wrote:
>
>> The driver is using -1 instead of the -ENOMEM defined macro to specify
>> that a buffer allocation failed. Since the error number is propagated,
>> the caller will get a -EPERM which is the wrong error
This device (aka Mayflash GameCube Adapter) has 4 controller ports, and
without the quirk they all become one very large joystock device. With the
quirk they're recognized as 4 separate joysticks.
Signed-off-by: Andrew Rodland
---
drivers/hid/hid-ids.h | 3