]> 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, 31 Oct 2011 19:47:19 +0000 (17:47 -0200)
commit8fcc8ab2280c7524b4bdecaa0eadc20d0d71dc3d
tree3141aa8e3bd6aa02d79f40c7d3e2020f25ce1ff4
parent2b7998015dd9f22fbdbde3fffec15d5f385befd4
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