summaryrefslogtreecommitdiffstats
path: root/net/bluetooth/hidp
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@googlemail.com>2011-10-26 11:22:46 +0200
committerGustavo F. Padovan <padovan@profusion.mobi>2011-11-07 17:24:54 -0200
commit7f103a0d23d2778b86cea407c1992522d41ead81 (patch)
treec8319c639e4bef02ab88bdf35ff080a3b3850040 /net/bluetooth/hidp
parentdeceb024f1083d7eecaba7f2ee65d57f31f91bd5 (diff)
Bluetooth: bfusb: Fix error path on firmware load
When loading the usb-configuration we do not signal the end of configuration on memory allocation error. This patch moves the memory allocation to the top so every error path uses "goto error" now to correctly send the usb-ctrl message when detecting some error. This also replaces GFP_ATOMIC with GFP_KERNEL as we are allowed to sleep here. Signed-off-by: David Herrmann <dh.herrmann@googlemail.com> Acked-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'net/bluetooth/hidp')
0 files changed, 0 insertions, 0 deletions