This fix a memory leak that will occur in this case.
Signed-off-by: Felipe F. Tonello
---
drivers/usb/gadget/function/f_midi.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/gadget/function/f_midi.c
b/drivers/usb/gadget/function/f_midi.c
index e92aff5
If CONFIG_PM or CONFIG_PM_SLEEP is not set, driver will not compile
properly.
Signed-off-by: Felipe F. Tonello
---
drivers/usb/chipidea/core.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/chipidea/core.c b/drivers/usb/chipidea/core.c
index 3ad48e1
req->actual == req->length means that there is no data left to enqueue,
so free the request.
Signed-off-by: Felipe F. Tonello
---
drivers/usb/gadget/function/f_midi.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/gadget/function/f_midi.c
b/drive
This refactor results in a cleaner state machine code and as a result fixed a
bug when packaging a MIDI-USB packet right after a non-conformant MIDI byte
stream.
Signed-off-by: Felipe F. Tonello
---
drivers/usb/gadget/function/f_midi.c | 205 +--
1 file changed
add cs4271 and cs42727 support for fsl-asoc-card
Signed-off-by: Felipe F. Tonello
---
.../devicetree/bindings/sound/imx-audio-cs427x.txt | 47 ++
sound/soc/fsl/Kconfig | 4 +-
sound/soc/fsl/fsl-asoc-card.c | 7
3 files
add cs4271 and cs42727 support for fsl-asoc-card
Signed-off-by: Felipe F. Tonello
---
Documentation/devicetree/bindings/sound/fsl-asoc-card.txt | 9 +
sound/soc/fsl/Kconfig | 4 ++--
sound/soc/fsl/fsl-asoc-card.c | 7
Signed-off-by: Felipe F. Tonello
---
Documentation/devicetree/bindings/sound/fsl-asoc-card.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/sound/fsl-asoc-card.txt
b/Documentation/devicetree/bindings/sound/fsl-asoc-card.txt
index
Also it performs better then previous implementation that
allocated a usb_request for every new transmit made.
Signed-off-by: Felipe F. Tonello
---
drivers/usb/gadget/function/f_midi.c | 14 +-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/gadget/function/f_m
g a wrong MIDI-USB request.
Signed-off-by: Felipe F. Tonello
---
drivers/usb/gadget/function/f_midi.c | 243 ---
1 file changed, 141 insertions(+), 102 deletions(-)
diff --git a/drivers/usb/gadget/function/f_midi.c
b/drivers/usb/gadget/function/f_midi.c
in
This is the initial imx-cs427x device-tree-only machine driver working with
fsl_ssi driver. More features can be added on top of it later.
Signed-off-by: Felipe F. Tonello
---
.../devicetree/bindings/sound/imx-audio-cs427x.txt | 47 +
sound/soc/fsl/Kconfig
f the slave device wishes to
persist with these parameters, it should use the L2CAP connection
parameters upade request upon a completed connection.
Signed-off-by: Felipe F. Tonello
---
net/bluetooth/mgmt.c | 53
1 file changed, 53 insertions(+)
ction parameters
accordingly. If the request was rejected, we don't do anything.
Signed-off-by: Felipe F. Tonello
---
include/net/bluetooth/l2cap.h | 2 ++
net/bluetooth/l2cap_core.c| 47 +++
2 files changed, 49 insertions(+)
diff --git a/i
user-space API
* Added refactor function
Felipe F. Tonello (4):
Bluetooth: L2CAP: Refactor L2CAP_CONN_PARAM_UPDATE_REQ into a function
Bluetooth: L2CAP: Add handler for Connection Parameter Update Response
Bluetooth: L2CAP: Add BT_LE_CONN_PARAM socket option
Bluetooth: Handle Slave Connection
h the store_hint set is sent to user-space so an application
can store the connection parameters for persistence reasons.
Signed-off-by: Felipe F. Tonello
---
include/net/bluetooth/bluetooth.h | 8 +++
net/bluetooth/l2cap_sock.c| 110 ++
2 files changed
This signaling command is useful for any connection parameter change
procedure, thus it is important to allow access to it from outside this
translation unit.
Signed-off-by: Felipe F. Tonello
---
include/net/bluetooth/l2cap.h | 3 +++
net/bluetooth/l2cap_core.c| 31
We should always use free_ep_req() when allocating requests with
alloc_ep_req().
Signed-off-by: Felipe F. Tonello
---
drivers/usb/gadget/function/f_hid.c | 10 +++---
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/drivers/usb/gadget/function/f_hid.c
b/drivers/usb/gadget
Use gadget's framework allocation function instead of directly calling
usb_ep_alloc_request().
Signed-off-by: Felipe F. Tonello
---
drivers/usb/gadget/function/f_hid.c | 6 +-
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/drivers/usb/gadget/function/f_hid.c
b/driver
: Felipe F. Tonello
---
drivers/usb/gadget/function/f_hid.c| 2 +-
drivers/usb/gadget/function/f_loopback.c | 6 ++
drivers/usb/gadget/function/f_midi.c | 2 +-
drivers/usb/gadget/function/f_sourcesink.c | 6 ++
drivers/usb/gadget/u_f.c | 7 +++
drivers/usb
Patch #1 removes a unnecessary and confusing parameter from alloc_ep_req().
Also, this series updates f_hid function to use alloc/free_ep_req() instead of
allocating/freeing requests directly.
Felipe F. Tonello (3):
usb: gadget: remove useless parameter in alloc_ep_req()
usb: gadget: f_hid
101 - 119 of 119 matches
Mail list logo