summaryrefslogtreecommitdiff
path: root/sound/oss/pas2_midi.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2010-08-13 22:05:04 +0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-08-15 17:52:12 +0400
commitc5607d8e7a4c30d2ff62b8eefe3f977d5c71d2fe (patch)
tree4bcb668243cacfabcb9d58076911093391dbd94b /sound/oss/pas2_midi.c
parent8ef339df25ed424e7430fd411a52840c6af368c6 (diff)
downloadlinux-c5607d8e7a4c30d2ff62b8eefe3f977d5c71d2fe.tar.xz
ASoC: Automatically calculate clock ratio for WM8580
Implement set_sysclk() and then rather than assuming 256fs use the supplied value to calculate and configure the clock ratio for the currently used sample rate. As a side effect we also end up implementing clock selection for the ADC path. In order to avoid confusion remove the existing set_clkdiv() based configuration of the clock source for the DAC and update the SMDK64xx driver (which is the only in-tree user of the CODEC). Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'sound/oss/pas2_midi.c')
0 files changed, 0 insertions, 0 deletions