projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffa481c
)
ASoC: Intel: bytcht_es8316: Replace GFP_ATOMIC with GFP_KERNEL
author
Vinod Koul
<vinod.koul@intel.com>
Fri, 20 Apr 2018 10:44:27 +0000
(16:14 +0530)
committer
Mark Brown
<broonie@kernel.org>
Fri, 20 Apr 2018 16:29:00 +0000
(17:29 +0100)
In snd_byt_cht_es8316_mc_probe which is not atomic context, we use
GFP_ATOMIC flag with memory allocation, fix that by using GFP_KERNEL.
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/bytcht_es8316.c
patch
|
blob
|
history
diff --git
a/sound/soc/intel/boards/bytcht_es8316.c
b/sound/soc/intel/boards/bytcht_es8316.c
index 305e7f4fe55ab86fbe1e711f54d538ee863728e1..adc26dfc7d654d3064d0999366ac99ea71c5f742 100644
(file)
--- a/
sound/soc/intel/boards/bytcht_es8316.c
+++ b/
sound/soc/intel/boards/bytcht_es8316.c
@@
-243,7
+243,7
@@
static int snd_byt_cht_es8316_mc_probe(struct platform_device *pdev)
int i;
int ret = 0;
- priv = devm_kzalloc(&pdev->dev, sizeof(*priv), GFP_
ATOMIC
);
+ priv = devm_kzalloc(&pdev->dev, sizeof(*priv), GFP_
KERNEL
);
if (!priv)
return -ENOMEM;