diff options
author | Sebastian Haas <dev@sebastianhaas.info> | 2011-12-22 23:58:34 +0100 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2012-02-03 01:21:25 +0100 |
commit | 2ee6850ca0cac95101d2a36c8b186b40d4fc7311 (patch) | |
tree | 002e25689ba79cab63cdcde606c0f7f9e6b1d1da /drivers/hid/hid-sjoy.c | |
parent | 9a12349663061d25b49e6542d005fa7193a2cb44 (diff) | |
download | linux-2ee6850ca0cac95101d2a36c8b186b40d4fc7311.tar.gz linux-2ee6850ca0cac95101d2a36c8b186b40d4fc7311.tar.bz2 linux-2ee6850ca0cac95101d2a36c8b186b40d4fc7311.zip |
can: ems_usb: Improved memory handling on ems_usb_start
Do not return from ems_usb_start if allocation fails. If not all URBs
could be allocated use the one already submitted.
Signed-off-by: Sebastian Haas <dev@sebastianhaas.info>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/hid/hid-sjoy.c')
0 files changed, 0 insertions, 0 deletions