summaryrefslogtreecommitdiff
path: root/corking.h
AgeCommit message (Collapse)AuthorFilesLines
2013-06-04corking: use bool instead of intDaniel Borkmann1-2/+4
We have a boolen condition, so use bool instead of doing stupid things with ints. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
2013-06-04corking: break out udp/tcp cork functionsDaniel Borkmann1-0/+11
No, it's not about whine bottles ... move udp and tcp cork functions out of xutils.c, so that we can further let it shrink. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
info' class='commit-info'> authorAdam Thomson <Adam.Thomson.Opensource@diasemi.com>2016-07-29 14:46:54 +0100 committerMark Brown <broonie@kernel.org>2016-08-08 11:54:45 +0100 commit40585391fc88d6d66dc479efccba973426c004ab (patch) tree2c9619209cbce9a12970de8d5b3ed75988cc9c20 /sound/soc/sh/Kconfig parent29b4817d4018df78086157ea3a55c1d9424a7cfc (diff)
ASoC: da7219: Make more efficient use of MCLK within driver
Currently, if the driver has control of MCLK then it remains enabled as long as the codec is in STANDBY or above. The MCLK is only really required in STANDBY when a 3-pole jack is inserted and the HP detect procedure is required to run. This patch updates the code to enable/disable the MCLK when moving between the STANDBY and PREPARE bias level, and when a 3-pole jack is inserted and HP detection is required, thus saving power at all other times. Signed-off-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sh/Kconfig')