FREQREQ_VAL is configured by RPM at the time of frequency switch.
TPDA enable sequence resets this register if user doesn't provide a
freq_req_val. This can be problem as it can accidentally reset the value
configured by RPM.
Change-Id: I2eb733bac700de372ae680cf74a251bb463e6650
Signed-off-by: Shashank Mittal <mittals@codeaurora.org>
if (drvdata->freq_req_val)
tpda_writel(drvdata, drvdata->freq_req_val, TPDA_FREQREQ_VAL);
- else
- tpda_writel(drvdata, 0x0, TPDA_FREQREQ_VAL);
val = tpda_readl(drvdata, TPDA_CR);
if (drvdata->freq_req)