Skip to content

Commit

Permalink
ASoC: Intel: Skylake: Reset the controller in probe
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
guneshwor.o.singh@intel.com authored and Mark Brown committed Aug 1, 2017
1 parent cc4db0e commit 60767ab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sound/soc/intel/skylake/skl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 60767ab

Please sign in to comment.