OSDN Git Service

ASoC: Intel: Skylake: Move sst common initialization to a helper function
authorG Kranthi <gudishax.kranthikumar@intel.com>
Tue, 25 Apr 2017 06:48:19 +0000 (12:18 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 26 Apr 2017 14:47:28 +0000 (15:47 +0100)
commit9fe9c71192832a1c63fb94120cb6c2541aca694f
tree4dcf4b84d927fab545f80dd7701b1307376090d2
parentcb67d7651676e8c8f2e40587ef591da057806c57
ASoC: Intel: Skylake: Move sst common initialization to a helper function

Some skl sst context are not dependent of platform and initializing them
independently for each platform can lead to errors. So optimize by
moving them to a helper function and platform specific init code can
call this.

Signed-off-by: G Kranthi <gudishax.kranthikumar@intel.com>
Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/skylake/bxt-sst.c
sound/soc/intel/skylake/skl-sst-dsp.h
sound/soc/intel/skylake/skl-sst-utils.c
sound/soc/intel/skylake/skl-sst.c