]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Provide CODEC clocking operations and API calls
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 7 Mar 2011 20:58:11 +0000 (20:58 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 8 Mar 2011 18:56:16 +0000 (18:56 +0000)
commit2420cebe173991abe5d530eaa8c25e37da58d077
tree329a7b4031c899b67f86a28b1ae77f295f3bfbec
parentb49c19dfe231f8c46b028003a7935f58071d88c5
ASoC: Provide CODEC clocking operations and API calls

When multi component systems use DAIless amplifiers which require clocking
configuration it is at best hard to use the current clocking API as this
requires a DAI even though the device may not even have one. Address this
by adding set_sysclk() and set_pll() operations and APIs for CODECs.

In order to avoid issues with devices which could be used either with or
without DAIs make the DAI variants call through to their CODEC counterparts
if there is no DAI specific operation. Converting over entirely would create
problems for multi-DAI devices which offer per-DAI clocking setup.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
include/sound/soc.h
sound/soc/soc-core.c