msm: bam_dmux: change kmalloc() while in atomic context to GFP_ATOMIC

Handle calls to bam_mux_write_cmd while in atomic context.

Change-Id: Ie61107e94e0e5b562b5a754c6d0ab1145139e425
Signed-off-by: Eric Holmberg <eholmber@codeaurora.org>
diff --git a/arch/arm/mach-msm/bam_dmux.c b/arch/arm/mach-msm/bam_dmux.c
index d1c788b..ace645b 100644
--- a/arch/arm/mach-msm/bam_dmux.c
+++ b/arch/arm/mach-msm/bam_dmux.c
@@ -338,7 +338,7 @@
 	struct tx_pkt_info *pkt;
 	dma_addr_t dma_address;
 
-	pkt = kmalloc(sizeof(struct tx_pkt_info), GFP_KERNEL);
+	pkt = kmalloc(sizeof(struct tx_pkt_info), GFP_ATOMIC);
 	if (pkt == NULL) {
 		pr_err("%s: mem alloc for tx_pkt_info failed\n", __func__);
 		rc = -ENOMEM;