diff options
author | guneshwor.o.singh@intel.com <guneshwor.o.singh@intel.com> | 2017-07-28 16:12:13 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-08-01 13:33:58 +0100 |
commit | 60767abcea3dd1d47a4bd38398e1e8c1864975eb (patch) | |
tree | 8d61dfa6d04e0673f44de1de84a02957ef7eda5d | |
parent | cc4db0e257d6a5d5ae2e2f042ac8d261caaf08fc (diff) | |
download | op-kernel-dev-60767abcea3dd1d47a4bd38398e1e8c1864975eb.zip op-kernel-dev-60767abcea3dd1d47a4bd38398e1e8c1864975eb.tar.gz |
ASoC: Intel: Skylake: Reset the controller in probe
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>
Acked-By: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/intel/skylake/skl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/intel/skylake/skl.c b/sound/soc/intel/skylake/skl.c index 01a2dd6..b9e1310 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) |