]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: ath3k: Use GFP_KERNEL instead of GFP_ATOMIC
authorDavid Herrmann <dh.herrmann@googlemail.com>
Tue, 25 Oct 2011 10:09:52 +0000 (12:09 +0200)
committerGustavo F. Padovan <padovan@profusion.mobi>
Mon, 7 Nov 2011 19:24:52 +0000 (17:24 -0200)
commit7692492d8ae7c7e961c954e35471316febbe551f
tree9f90f39d76ec76355a5a9c63f19e0357dc410ac8
parentecbe51207162fe267450f2cc8f059b0bdb2ef538
Bluetooth: ath3k: Use GFP_KERNEL instead of GFP_ATOMIC

We are allowed to sleep here so no need to use GFP_ATOMIC. The caller
(ath3k_probe) calls request_firmware() which definitely sleeps. Hence, we should
avoid using GFP_ATOMIC.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
drivers/bluetooth/ath3k.c