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

Change-Id: I38bcd9d6981b32f09fd5450bc17d1bb18edab304
Signed-off-by: Jeffrey Hugo <jhugo@codeaurora.org>
diff --git a/arch/arm/mach-msm/bam_dmux.c b/arch/arm/mach-msm/bam_dmux.c
index cc68891..30d3fe6 100644
--- a/arch/arm/mach-msm/bam_dmux.c
+++ b/arch/arm/mach-msm/bam_dmux.c
@@ -601,7 +601,7 @@
 		return 0;
 	}
 
-	hdr = kmalloc(sizeof(struct bam_mux_hdr), GFP_KERNEL);
+	hdr = kmalloc(sizeof(struct bam_mux_hdr), GFP_ATOMIC);
 	if (hdr == NULL) {
 		pr_err("%s: hdr kmalloc failed. ch: %d\n", __func__, id);
 		read_unlock(&ul_wakeup_lock);