diff options
Diffstat (limited to 'sound/soc/codecs/max98095.c')
-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 */ |