diff options
author | Markus Pargmann <mpa@pengutronix.de> | 2013-12-20 14:11:33 +0100 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-01-08 17:20:32 +0000 |
commit | 4e6ec0d98c045cb2c0c6550c65c4afae208872e9 (patch) | |
tree | 02c270d6090a20f6329aa8c8a8054c57ef811ecc /lib/locking-selftest.c | |
parent | bd3ca7d1b8ee0dcd502c8c15d1cf741bc165722f (diff) | |
download | linux-stable-4e6ec0d98c045cb2c0c6550c65c4afae208872e9.tar.gz linux-stable-4e6ec0d98c045cb2c0c6550c65c4afae208872e9.tar.bz2 linux-stable-4e6ec0d98c045cb2c0c6550c65c4afae208872e9.zip |
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 <mpa@pengutronix.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'lib/locking-selftest.c')
0 files changed, 0 insertions, 0 deletions