diff options
author | Peter Hsiang <cdefgab1288@gmail.com> | 2011-04-19 18:20:40 -0700 |
---|---|---|
committer | Varun Wadekar <vwadekar@nvidia.com> | 2011-12-21 12:06:27 +0530 |
commit | 924cfdbab3f683b3c3210c950e5efe70734ebfdd (patch) | |
tree | d36daf723e33b9f856250f621430b0f3397400d0 /sound | |
parent | 7920f0258a4c62ff7a0695a12b7a52499b9cbe47 (diff) |
ASoC: Add EQ and filter to max98095 CODEC driver
This patch adds the equalizer and biquad filter controls.
Signed-off-by: Peter Hsiang <peter.hsiang@maxim-ic.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
(cherry picked from commit dad31ec133adb20c8fd10bfd9379da3f08b8721e)
Change-Id: I5f0f1005cecc1ca28bac360a55a86de7b9cddfe1
Signed-off-by: Ravindra Lokhande <rlokhande@nvidia.com>
Reviewed-on: http://git-master/r/69961
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/max98095.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/max98095.c b/sound/soc/codecs/max98095.c index 668434d44303..48071dcbdc4b 100644 --- a/sound/soc/codecs/max98095.c +++ b/sound/soc/codecs/max98095.c @@ -1878,6 +1878,7 @@ static int max98095_put_eq_enum(struct snd_kcontrol *kcontrol, cdata = &max98095->dai[channel]; cdata->eq_sel = sel; + fs = cdata->rate; /* Find the selected configuration with nearest sample rate */ @@ -2024,6 +2025,7 @@ static int max98095_put_bq_enum(struct snd_kcontrol *kcontrol, cdata = &max98095->dai[channel]; cdata->bq_sel = sel; + fs = cdata->rate; /* Find the selected configuration with nearest sample rate */ |