summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2017-04-14 07:30:01 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2017-04-14 07:30:00 -0700
commit891c4ddf057cf69a726729fcadd3f2cd828cbb44 (patch)
tree5c8542921d0f2deb57fc8f06dcb5b4b3bb674ef2
parentdc013b90932dea871586721ce2bdbf4985e91545 (diff)
parent44a8756de994892321073e35e65cffa927c996fe (diff)
Merge "ASoC: msm: Update proper clock frequency for slave mode"
-rw-r--r--sound/soc/msm/sdm660-common.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sound/soc/msm/sdm660-common.c b/sound/soc/msm/sdm660-common.c
index edf5719fbf3e..90b661dff7ec 100644
--- a/sound/soc/msm/sdm660-common.c
+++ b/sound/soc/msm/sdm660-common.c
@@ -2412,9 +2412,6 @@ static void update_mi2s_clk_val(int dai_id, int stream)
mi2s_clk[dai_id].clk_freq_in_hz =
mi2s_tx_cfg[dai_id].sample_rate * 2 * bit_per_sample;
}
-
- if (!mi2s_intf_conf[dai_id].msm_is_mi2s_master)
- mi2s_clk[dai_id].clk_freq_in_hz = 0;
}
static int msm_mi2s_set_sclk(struct snd_pcm_substream *substream, bool enable)