summaryrefslogtreecommitdiffstats
path: root/sound/soc/intel/avs/apl.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-06-27 16:36:57 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-06-27 16:39:29 +0200
commit38a523a2946d3a0961d141d477a1ee2b1f3bdbb1 (patch)
tree40a2a7ecb942e52c06068d46dbee1c266a3cf1df /sound/soc/intel/avs/apl.c
parentRevert "mwifiex: fix sleep in atomic context bugs caused by dev_coredumpv" (diff)
downloadlinux-38a523a2946d3a0961d141d477a1ee2b1f3bdbb1.tar.xz
linux-38a523a2946d3a0961d141d477a1ee2b1f3bdbb1.zip
Revert "devcoredump: remove the useless gfp_t parameter in dev_coredumpv and dev_coredumpm"
This reverts commit 77515ebaf01920e2db49e04672ef669a7c2907f2 as it causes build problems in linux-next. It needs to be reintroduced in a way that can allow the api to evolve and not require a "flag day" to catch all users. Link: https://lore.kernel.org/r/20220623160723.7a44b573@canb.auug.org.au Cc: Duoming Zhou <duoming@zju.edu.cn> Cc: Brian Norris <briannorris@chromium.org> Cc: Johannes Berg <johannes@sipsolutions.net> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/soc/intel/avs/apl.c')
-rw-r--r--sound/soc/intel/avs/apl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/intel/avs/apl.c b/sound/soc/intel/avs/apl.c
index 1ff57f1a483d..b8e2b23c9f64 100644
--- a/sound/soc/intel/avs/apl.c
+++ b/sound/soc/intel/avs/apl.c
@@ -164,7 +164,7 @@ static int apl_coredump(struct avs_dev *adev, union avs_notify_msg *msg)
} while (offset < msg->ext.coredump.stack_dump_size);
exit:
- dev_coredumpv(adev->dev, dump, dump_size);
+ dev_coredumpv(adev->dev, dump, dump_size, GFP_KERNEL);
return 0;
}