summaryrefslogtreecommitdiff
path: root/sound/soc/intel/catpt
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-06-27 17:36:57 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-08-17 16:16:19 +0300
commitd729f0ee99a3c4ef8d515bd1a78dcafb86f3b8f8 (patch)
treec68555efe39d61b00bf5d57afe6ad011c36af98e /sound/soc/intel/catpt
parent2d03f321a589bcbf84141b943dbe033acae79b0e (diff)
downloadlinux-d729f0ee99a3c4ef8d515bd1a78dcafb86f3b8f8.tar.xz
Revert "devcoredump: remove the useless gfp_t parameter in dev_coredumpv and dev_coredumpm"
commit 38a523a2946d3a0961d141d477a1ee2b1f3bdbb1 upstream. 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/catpt')
-rw-r--r--sound/soc/intel/catpt/dsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/intel/catpt/dsp.c b/sound/soc/intel/catpt/dsp.c
index d2afe9ff1e3a..346bec000306 100644
--- a/sound/soc/intel/catpt/dsp.c
+++ b/sound/soc/intel/catpt/dsp.c
@@ -539,7 +539,7 @@ int catpt_coredump(struct catpt_dev *cdev)
pos += CATPT_DMA_REGS_SIZE;
}
- dev_coredumpv(cdev->dev, dump, dump_size);
+ dev_coredumpv(cdev->dev, dump, dump_size, GFP_KERNEL);
return 0;
}