From: Markus Pargmann Date: Fri, 20 Dec 2013 13:11:33 +0000 (+0100) Subject: ASoC: fsl-ssi: Add configuration helper functions X-Git-Tag: v3.14-rc1~143^2~1^2^2^6~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e6ec0d98c045cb2c0c6550c65c4afae208872e9;p=pandora-kernel.git ASoC: fsl-ssi: Add configuration helper functions This patch adds a struct 'fsl_ssi_rxtx_reg_val' which holds register values necessary to enable rx/tx. Based on those preset register values, the added configuration functions will cleanly enable/disable different parts of the SSI IP while supporting online/offline configuration. Different operating modes can be setup directly as different register values in fsl_ssi_reg_val. These functions and structs will help to cleanup and simplify the trigger function to support many different IP versions (online/offline configuration) and different operating modes. Signed-off-by: Markus Pargmann Signed-off-by: Mark Brown --- Reading git-diff-tree failed