diff options
author | David Herrmann <dh.herrmann@googlemail.com> | 2011-10-26 11:22:46 +0200 |
---|---|---|
committer | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-10-31 20:52:35 +0100 |
commit | 6b441fab28ea1cbbf3da75dcd1e7438e6cba704c (patch) | |
tree | 776a0542aab86f162cfdfc824250f3a70803cd25 /kernel/lockdep_internals.h | |
parent | Bluetooth: bcm203x: Use GFP_KERNEL in workqueue (diff) | |
download | linux-6b441fab28ea1cbbf3da75dcd1e7438e6cba704c.tar.xz linux-6b441fab28ea1cbbf3da75dcd1e7438e6cba704c.zip |
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 'kernel/lockdep_internals.h')
0 files changed, 0 insertions, 0 deletions