summaryrefslogtreecommitdiffstats
path: root/sound/pci/oxygen/oxygen.c
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2009-09-28 11:20:11 +0200
committerTakashi Iwai <tiwai@suse.de>2009-09-28 11:54:45 +0200
commit76ffe1e3fb2f65e98d7ed001c5a2b6f334655364 (patch)
tree9a05a9f27a3a0907dd6af081a2b149d72a303b89 /sound/pci/oxygen/oxygen.c
parenta361e247b4e36c567b44fef354ab595458422d44 (diff)
downloadop-kernel-dev-76ffe1e3fb2f65e98d7ed001c5a2b6f334655364.zip
op-kernel-dev-76ffe1e3fb2f65e98d7ed001c5a2b6f334655364.tar.gz
sound: oxygen: allow custom MCLK rates
Add a callback that allows model drivers to modify the default I2S MCLK rate. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/oxygen/oxygen.c')
-rw-r--r--sound/pci/oxygen/oxygen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/oxygen/oxygen.c b/sound/pci/oxygen/oxygen.c
index c986c5e..d12fd9e 100644
--- a/sound/pci/oxygen/oxygen.c
+++ b/sound/pci/oxygen/oxygen.c
@@ -361,6 +361,7 @@ static const struct oxygen_model model_generic = {
.init = generic_init,
.cleanup = generic_cleanup,
.resume = generic_resume,
+ .get_i2s_mclk = oxygen_default_i2s_mclk,
.set_dac_params = set_ak4396_params,
.set_adc_params = set_wm8785_params,
.update_dac_volume = update_ak4396_volume,
OpenPOWER on IntegriCloud