Skip to contentSkip to conversation

ASoC: Intel: haswell: fix initialize 'NULL device *' issue

PATCH In review Jie Yang 2 participants 4 messages Jul 28, 2015 – Jul 29, 2015

Subsystems (3)
lore
Share & tools
lore

Jie Yang

author
#0 lore raw

PATCH 1/2 ASoC: Intel: haswell: fix initialize 'NULL device *' issue

Add initialization for sst_hsw.dev at init stage, which fix the 'NULL device *' warning issues.

---
 sound/soc/intel/haswell/sst-haswell-ipc.c | 2 ++
 1 file changed, 2 insertions(+)
sound/soc/intel/haswell/sst-haswell-ipc.c +2 -0
index f95f271..f6efa9d 100644
@@ -2119,6 +2119,8 @@ int sst_hsw_dsp_init(struct device *dev, struct sst_pdata *pdata)
 	if (hsw == NULL)
 		return -ENOMEM;
 
+	hsw->dev = dev;
+
 	ipc = &hsw->ipc;
 	ipc->dev = dev;
 	ipc->ops.tx_msg = hsw_tx_msg;
Signature · 1 line
1.9.1
author
#1 lore raw

PATCH 2/2 ASoC: Intel: sst_byt: fix initialize 'NULL device *' issue

Add initialization for sst_byt.dev at init stage, which fix the 'NULL device *' warning issues.

---
 sound/soc/intel/baytrail/sst-baytrail-ipc.c | 2 ++
 1 file changed, 2 insertions(+)
sound/soc/intel/baytrail/sst-baytrail-ipc.c +2 -0
index 4c01bb4..5bbaa66 100644
@@ -701,6 +701,8 @@ int sst_byt_dsp_init(struct device *dev, struct sst_pdata *pdata)
 	if (byt == NULL)
 		return -ENOMEM;
 
+	byt->dev = dev;
+
 	ipc = &byt->ipc;
 	ipc->dev = dev;
 	ipc->ops.tx_msg = byt_tx_msg;
Signature · 1 line
1.9.1
maintainer
#2 lore raw

Applied "ASoC: Intel: sst_byt: fix initialize 'NULL device *' issue" to the asoc tree

The patch

ASoC: Intel: sst_byt: fix initialize 'NULL device *' issue

has been applied to the asoc tree at

git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

Thanks,
Mark

Quoted 1 line

From 45f503df1ba445359b94e1758c5e4f2c3460c8e4 Mon Sep 17 00:00:00 2001

From: Jie Yang <[email protected]>
Date: Tue, 28 Jul 2015 16:01:06 +0800
Subject: [PATCH] ASoC: Intel: sst_byt: fix initialize 'NULL device *' issue

Add initialization for sst_byt.dev at init stage, which fix the 'NULL device *' warning issues.

---
 sound/soc/intel/baytrail/sst-baytrail-ipc.c | 2 ++
 1 file changed, 2 insertions(+)
sound/soc/intel/baytrail/sst-baytrail-ipc.c +2 -0
index 4c01bb4..5bbaa66 100644
@@ -701,6 +701,8 @@ int sst_byt_dsp_init(struct device *dev, struct sst_pdata *pdata)
 	if (byt == NULL)
 		return -ENOMEM;
 
+	byt->dev = dev;
+
 	ipc = &byt->ipc;
 	ipc->dev = dev;
 	ipc->ops.tx_msg = byt_tx_msg;
Signature · 1 line
2.1.4
maintainer
#3 lore raw

Applied "ASoC: Intel: haswell: fix initialize 'NULL device *' issue" to the asoc tree

In reply to Jie Yang

The patch

ASoC: Intel: haswell: fix initialize 'NULL device *' issue

has been applied to the asoc tree at

git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

Thanks,
Mark

Quoted 1 line

From 4b563ea317c2262987f0675abf15066614f536a1 Mon Sep 17 00:00:00 2001

From: Jie Yang <[email protected]>
Date: Tue, 28 Jul 2015 16:01:05 +0800
Subject: [PATCH] ASoC: Intel: haswell: fix initialize 'NULL device *' issue

Add initialization for sst_hsw.dev at init stage, which fix the 'NULL device *' warning issues.

---
 sound/soc/intel/haswell/sst-haswell-ipc.c | 2 ++
 1 file changed, 2 insertions(+)
sound/soc/intel/haswell/sst-haswell-ipc.c +2 -0
index f95f271..f6efa9d 100644
@@ -2119,6 +2119,8 @@ int sst_hsw_dsp_init(struct device *dev, struct sst_pdata *pdata)
 	if (hsw == NULL)
 		return -ENOMEM;
 
+	hsw->dev = dev;
+
 	ipc = &hsw->ipc;
 	ipc->dev = dev;
 	ipc->ops.tx_msg = hsw_tx_msg;
Signature · 1 line
2.1.4