All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] ASoC: Intel: haswell: fix initialize 'NULL device *' issue
@ 2015-07-28  8:01 Jie Yang
  2015-07-28  8:01 ` [PATCH 2/2] ASoC: Intel: sst_byt: " Jie Yang
  2015-07-29 14:13 ` Applied "ASoC: Intel: haswell: " Mark Brown
  0 siblings, 2 replies; 4+ messages in thread
From: Jie Yang @ 2015-07-28  8:01 UTC (permalink / raw
  To: broonie, tiwai; +Cc: alsa-devel, liam.r.girdwood

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

Signed-off-by: Jie Yang <yang.jie@intel.com>
---
 sound/soc/intel/haswell/sst-haswell-ipc.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sound/soc/intel/haswell/sst-haswell-ipc.c b/sound/soc/intel/haswell/sst-haswell-ipc.c
index f95f271..f6efa9d 100644
--- a/sound/soc/intel/haswell/sst-haswell-ipc.c
+++ b/sound/soc/intel/haswell/sst-haswell-ipc.c
@@ -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;
-- 
1.9.1

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

* [PATCH 2/2] ASoC: Intel: sst_byt: fix initialize 'NULL device *' issue
  2015-07-28  8:01 [PATCH 1/2] ASoC: Intel: haswell: fix initialize 'NULL device *' issue Jie Yang
@ 2015-07-28  8:01 ` Jie Yang
  2015-07-29 14:13   ` Applied "ASoC: Intel: sst_byt: fix initialize 'NULL device *' issue" to the asoc tree Mark Brown
  2015-07-29 14:13 ` Applied "ASoC: Intel: haswell: " Mark Brown
  1 sibling, 1 reply; 4+ messages in thread
From: Jie Yang @ 2015-07-28  8:01 UTC (permalink / raw
  To: broonie, tiwai; +Cc: alsa-devel, liam.r.girdwood

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

Signed-off-by: Jie Yang <yang.jie@intel.com>
---
 sound/soc/intel/baytrail/sst-baytrail-ipc.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sound/soc/intel/baytrail/sst-baytrail-ipc.c b/sound/soc/intel/baytrail/sst-baytrail-ipc.c
index 4c01bb4..5bbaa66 100644
--- a/sound/soc/intel/baytrail/sst-baytrail-ipc.c
+++ b/sound/soc/intel/baytrail/sst-baytrail-ipc.c
@@ -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;
-- 
1.9.1

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

* Applied "ASoC: Intel: sst_byt: fix initialize 'NULL device *' issue" to the asoc tree
  2015-07-28  8:01 ` [PATCH 2/2] ASoC: Intel: sst_byt: " Jie Yang
@ 2015-07-29 14:13   ` Mark Brown
  0 siblings, 0 replies; 4+ messages in thread
From: Mark Brown @ 2015-07-29 14:13 UTC (permalink / raw
  To: Jie Yang, Mark Brown; +Cc: alsa-devel

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

>From 45f503df1ba445359b94e1758c5e4f2c3460c8e4 Mon Sep 17 00:00:00 2001
From: Jie Yang <yang.jie@intel.com>
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.

Signed-off-by: Jie Yang <yang.jie@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/intel/baytrail/sst-baytrail-ipc.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sound/soc/intel/baytrail/sst-baytrail-ipc.c b/sound/soc/intel/baytrail/sst-baytrail-ipc.c
index 4c01bb4..5bbaa66 100644
--- a/sound/soc/intel/baytrail/sst-baytrail-ipc.c
+++ b/sound/soc/intel/baytrail/sst-baytrail-ipc.c
@@ -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;
-- 
2.1.4

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

* Applied "ASoC: Intel: haswell: fix initialize 'NULL device *' issue" to the asoc tree
  2015-07-28  8:01 [PATCH 1/2] ASoC: Intel: haswell: fix initialize 'NULL device *' issue Jie Yang
  2015-07-28  8:01 ` [PATCH 2/2] ASoC: Intel: sst_byt: " Jie Yang
@ 2015-07-29 14:13 ` Mark Brown
  1 sibling, 0 replies; 4+ messages in thread
From: Mark Brown @ 2015-07-29 14:13 UTC (permalink / raw
  To: Jie Yang, Mark Brown; +Cc: alsa-devel

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

>From 4b563ea317c2262987f0675abf15066614f536a1 Mon Sep 17 00:00:00 2001
From: Jie Yang <yang.jie@intel.com>
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.

Signed-off-by: Jie Yang <yang.jie@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/intel/haswell/sst-haswell-ipc.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sound/soc/intel/haswell/sst-haswell-ipc.c b/sound/soc/intel/haswell/sst-haswell-ipc.c
index f95f271..f6efa9d 100644
--- a/sound/soc/intel/haswell/sst-haswell-ipc.c
+++ b/sound/soc/intel/haswell/sst-haswell-ipc.c
@@ -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;
-- 
2.1.4

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

end of thread, other threads:[~2015-07-29 14:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-28  8:01 [PATCH 1/2] ASoC: Intel: haswell: fix initialize 'NULL device *' issue Jie Yang
2015-07-28  8:01 ` [PATCH 2/2] ASoC: Intel: sst_byt: " Jie Yang
2015-07-29 14:13   ` Applied "ASoC: Intel: sst_byt: fix initialize 'NULL device *' issue" to the asoc tree Mark Brown
2015-07-29 14:13 ` Applied "ASoC: Intel: haswell: " Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.