lkml.org 
[lkml]   [2015]   [Sep]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] usb: gadget: fixes for f_sourcesink and f_loopback
Date
Hi Felipe,

There are two bugfix patches. The problem was that function parameters
in f_sourcesink and f_loopback were stored in global variables, and in
result setting parameters in one function instance caused overwriting
them in all other instances. This patchset fixes this problem by replacing
global variables with per instance parameters.

Best regards,
Robert Baldyga

Robert Baldyga (2):
usb: gadget: f_sourcesink: fix function params handling
usb: gadget: f_loopfack: fix function params handling

drivers/usb/gadget/function/f_loopback.c | 22 +++---
drivers/usb/gadget/function/f_sourcesink.c | 120 +++++++++++++++--------------
2 files changed, 74 insertions(+), 68 deletions(-)

--
1.9.1



\
 
 \ /
  Last update: 2015-09-24 17:21    [W:0.042 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site