qe: Use GFP_ATOMIC while spin_lock_irqsave is held
authorSaurabh Sengar <saurabh.truth@gmail.com>
Sun, 24 Jan 2016 06:54:06 +0000 (12:24 +0530)
committerScott Wood <oss@buserror.net>
Wed, 9 Mar 2016 16:44:13 +0000 (10:44 -0600)
commit66923a60ad80a963c0cd5ceecba9ba377cefba47
tree5e0ef713ee73aa660d38ef50013c1fa9a65fc65b
parent713df30bd9a036196efd58887c10e0d3ee0928f9
qe: Use GFP_ATOMIC while spin_lock_irqsave is held

cpm_muram_alloc_common is called twice and both the times
spin_lock_irqsave is held.
Using GFP_KERNEL can sleep in spin_lock_irqsave context and cause
deadlock

Signed-off-by: Saurabh Sengar <saurabh.truth@gmail.com>
Signed-off-by: Scott Wood <oss@buserror.net>
drivers/soc/fsl/qe/qe_common.c