]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ASoC: Intel: Skylake: Add module configuration helpers
authorJeeja KP <jeeja.kp@intel.com>
Wed, 7 Oct 2015 10:31:53 +0000 (11:31 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 7 Oct 2015 14:30:15 +0000 (15:30 +0100)
commitf7590d4f1565b0d609d25113c37b9bea8a13e9f7
treea74c8f78945d5663c6541f396eb7921eb5ccb452
parente4e2d2f45284f620eeb9eea25570838b2a42c968
ASoC: Intel: Skylake: Add module configuration helpers

To configure a module, driver needs to send input and output PCM
params for a module in DSP. The FE PCM params come from hw_params
ie from user, for a BE they also come from hw_params but from
BE-link fixups.
So based on PCM params required driver has to find a converter
module (src/updown/format) and then do the conversion and
calculate PCM params in these pipelines In this patch we add the
helper modules which allow driver to do these calculations.

Signed-off-by: Hardik T Shah <hardik.t.shah@intel.com>
Signed-off-by: Jeeja KP <jeeja.kp@intel.com>
Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/skylake/skl-topology.c