From: Robert Baldyga <r.baldyga@samsung.com>
To: balbi@ti.com
Cc: gregkh@linuxfoundation.org, linux-usb@vger.kernel.org,
linux-kernel@vger.kernel.org, andrzej.p@samsung.com,
b.zolnierkie@samsung.com, Robert Baldyga <r.baldyga@samsung.com>
Subject: [PATCH 0/2] usb: gadget: fixes for f_sourcesink and f_loopback
Date: Thu, 24 Sep 2015 17:02:45 +0200 [thread overview]
Message-ID: <1443106967-1972-1-git-send-email-r.baldyga@samsung.com> (raw)
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
next reply other threads:[~2015-09-24 15:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-24 15:02 Robert Baldyga [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1443106967-1972-1-git-send-email-r.baldyga@samsung.com \
--to=r.baldyga@samsung.com \
--cc=andrzej.p@samsung.com \
--cc=b.zolnierkie@samsung.com \
--cc=balbi@ti.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®