public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] usb: gadget: fixes for f_sourcesink and f_loopback
@ 2015-09-24 15:02 Robert Baldyga
  2015-09-24 15:02 ` [PATCH 1/2] usb: gadget: f_sourcesink: fix function params handling Robert Baldyga
  2015-09-24 15:02 ` [PATCH 2/2] usb: gadget: f_loopfack: " Robert Baldyga
  0 siblings, 2 replies; 4+ messages in thread
From: Robert Baldyga @ 2015-09-24 15:02 UTC (permalink / raw)
  To: balbi
  Cc: gregkh, linux-usb, linux-kernel, andrzej.p, b.zolnierkie,
	Robert Baldyga

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-09-24 15:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-24 15:02 [PATCH 0/2] usb: gadget: fixes for f_sourcesink and f_loopback Robert Baldyga
2015-09-24 15:02 ` [PATCH 1/2] usb: gadget: f_sourcesink: fix function params handling Robert Baldyga
2015-09-24 15:02 ` [PATCH 2/2] usb: gadget: f_loopfack: " Robert Baldyga
2015-09-24 15:18   ` Robert Baldyga

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox