alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ASoC: Intel: Enable coredump in kconfig
@ 2020-10-23 10:57 Gustaw Lewandowski
  2020-10-23 14:33 ` Pierre-Louis Bossart
  0 siblings, 1 reply; 2+ messages in thread
From: Gustaw Lewandowski @ 2020-10-23 10:57 UTC (permalink / raw)
  To: alsa-devel
  Cc: cezary.rojewski, patch, tiwai, lgirdwood, pierre-louis.bossart,
	Gustaw Lewandowski, broonie, Piotr Maziarz

From: Piotr Maziarz <piotrx.maziarz@linux.intel.com>

WANT_DEV_COREDUMP flag is needed here if this driver is only one
using dev_coredump feature.

Signed-off-by: Piotr Maziarz <piotrx.maziarz@linux.intel.com>
Signed-off-by: Gustaw Lewandowski <gustaw.lewandowski@linux.intel.com>
---
 sound/soc/intel/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/soc/intel/Kconfig b/sound/soc/intel/Kconfig
index a5b446d5af19..c215156e2e18 100644
--- a/sound/soc/intel/Kconfig
+++ b/sound/soc/intel/Kconfig
@@ -4,6 +4,7 @@ config SND_SOC_INTEL_SST_TOPLEVEL
 	default y
 	depends on X86 || COMPILE_TEST
 	select SND_SOC_INTEL_MACH
+	select WANT_DEV_COREDUMP
 	help
 	  Intel ASoC SST Platform Drivers. If you have a Intel machine that
 	  has an audio controller with a DSP and I2S or DMIC port, then
-- 
2.29.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ASoC: Intel: Enable coredump in kconfig
  2020-10-23 10:57 [PATCH] ASoC: Intel: Enable coredump in kconfig Gustaw Lewandowski
@ 2020-10-23 14:33 ` Pierre-Louis Bossart
  0 siblings, 0 replies; 2+ messages in thread
From: Pierre-Louis Bossart @ 2020-10-23 14:33 UTC (permalink / raw)
  To: Gustaw Lewandowski, alsa-devel
  Cc: cezary.rojewski, patch, tiwai, lgirdwood, Piotr Maziarz, broonie



On 10/23/20 5:57 AM, Gustaw Lewandowski wrote:
> From: Piotr Maziarz <piotrx.maziarz@linux.intel.com>
> 
> WANT_DEV_COREDUMP flag is needed here if this driver is only one
> using dev_coredump feature.
> 
> Signed-off-by: Piotr Maziarz <piotrx.maziarz@linux.intel.com>
> Signed-off-by: Gustaw Lewandowski <gustaw.lewandowski@linux.intel.com>
> ---
>   sound/soc/intel/Kconfig | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/sound/soc/intel/Kconfig b/sound/soc/intel/Kconfig
> index a5b446d5af19..c215156e2e18 100644
> --- a/sound/soc/intel/Kconfig
> +++ b/sound/soc/intel/Kconfig
> @@ -4,6 +4,7 @@ config SND_SOC_INTEL_SST_TOPLEVEL
>   	default y
>   	depends on X86 || COMPILE_TEST
>   	select SND_SOC_INTEL_MACH
> +	select WANT_DEV_COREDUMP
>   	help
>   	  Intel ASoC SST Platform Drivers. If you have a Intel machine that
>   	  has an audio controller with a DSP and I2S or DMIC port, then


to the best of my knowledge the only user of device coredump is:

intel/catpt/dsp.c:      dev_coredumpv(cdev->dev, dump, dump_size, 
GFP_KERNEL);

so shouldn't this change be added to catpt only?


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-10-23 14:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-23 10:57 [PATCH] ASoC: Intel: Enable coredump in kconfig Gustaw Lewandowski
2020-10-23 14:33 ` Pierre-Louis Bossart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).