Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/4] ASoC: Intel: Skylake: Reset the controller in probe
@ 2017-07-28 10:42 Guneshwor Singh
  2017-07-28 10:42 ` [PATCH 2/4] ASoC: Intel: bxtn: Remove code loader reference in cleanup Guneshwor Singh
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Guneshwor Singh @ 2017-07-28 10:42 UTC (permalink / raw)
  To: alsa-devel, Mark Brown
  Cc: Takashi Iwai, Liam Girdwood, Vinod Koul, Guneshwor Singh,
	Patches Audio

Controller can be in reset state by default. Capability structure
traversal requires the controller to be out of reset else it
results in broken capability parsing. Hence make sure that controller is
out of reset before parsing capabilities by doing a full reset.

Signed-off-by: Guneshwor Singh <guneshwor.o.singh@intel.com>
---
 sound/soc/intel/skylake/skl.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sound/soc/intel/skylake/skl.c b/sound/soc/intel/skylake/skl.c
index 334917ee41cf..a56dfde3928c 100644
--- a/sound/soc/intel/skylake/skl.c
+++ b/sound/soc/intel/skylake/skl.c
@@ -702,6 +702,8 @@ static int skl_first_init(struct hdac_ext_bus *ebus)
 		return -ENXIO;
 	}
 
+	skl_init_chip(bus, true);
+
 	snd_hdac_bus_parse_capabilities(bus);
 
 	if (skl_acquire_irq(ebus, 0) < 0)
-- 
2.13.0

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

end of thread, other threads:[~2017-08-01 14:16 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-28 10:42 [PATCH 1/4] ASoC: Intel: Skylake: Reset the controller in probe Guneshwor Singh
2017-07-28 10:42 ` [PATCH 2/4] ASoC: Intel: bxtn: Remove code loader reference in cleanup Guneshwor Singh
2017-08-01 14:16   ` Applied "ASoC: Intel: bxtn: Remove code loader reference in cleanup" to the asoc tree Mark Brown
2017-07-28 10:42 ` [PATCH 3/4] ASoC: Intel: Skylake: Remove return check for skl_codec_create() Guneshwor Singh
2017-08-01 14:16   ` Applied "ASoC: Intel: Skylake: Remove return check for skl_codec_create()" to the asoc tree Mark Brown
2017-07-28 10:42 ` [PATCH 4/4] ASoC: Intel: Skylake: Fix potential null pointer dereference Guneshwor Singh
2017-08-01 14:16   ` Applied "ASoC: Intel: Skylake: Fix potential null pointer dereference" to the asoc tree Mark Brown
2017-07-29  4:35 ` [PATCH 1/4] ASoC: Intel: Skylake: Reset the controller in probe Vinod Koul
2017-08-01 14:16 ` Applied "ASoC: Intel: Skylake: Reset the controller in probe" to the asoc tree Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox