aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorAdam Thomson <[email protected]>2018-03-09 16:25:43 +0000
committerMark Brown <[email protected]>2018-03-09 17:40:41 +0000
commitfc8f7ea2d6c074baaad202c9187962bfa493ef13 (patch)
tree44dea6701558da4ca58f5c89309451b9c5155506 /lib/mpi/mpi-cmp.c
parentc22969d70fc9253112e88da55116e04074cdeac4 (diff)
ASoC: da7219: Add common clock usage for providing DAI clks
There is a need to use DA7219 as DAI clock master for other codecs within a system, which means that the DAI clocks are required to remain, regardless of whether the codec is actually running playback/capture. To be able to expose control of the DAI clocking the common clock framework has been employed. The current implementation adds a simple clock gate for enabling and disabling the DAI clocks, with no rate control supported (this is still handled through standard hw_params() functions as before). If DT is enabled then the clock is added to the OF providers list, otherwise a clkdev lookup is used. Signed-off-by: Adam Thomson <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions