Merge "mfd: wcd9xxx-slimslave: Add playback support for 44.1KHz multiples"

This commit is contained in:
Linux Build Service Account 2016-08-17 20:28:44 -07:00 committed by Gerrit - the friendly Code Review server
commit 22ca7c4d13

View file

@ -220,7 +220,8 @@ int wcd9xxx_cfg_slim_sch_rx(struct wcd9xxx *wcd9xxx,
__func__, ch_cnt, rate, WATER_MARK_VAL);
/* slim_define_ch api */
prop.prot = SLIM_AUTO_ISO;
if (rate == 44100) {
if ((rate == 44100) || (rate == 88200) || (rate == 176400) ||
(rate == 352800)) {
prop.baser = SLIM_RATE_11025HZ;
prop.ratem = (rate/11025);
} else {