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)
commit52a1020e80beece986002f673eca24dae6255b55
tree9f90f39d76ec76355a5a9c63f19e0357dc410ac8
parentdf164df9a77979d1774ede353988c1a62584594b
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