sound/soc/codecs/rt5639.c: In function 'rt5639_pll_calc':
sound/soc/codecs/rt5639.c:2833:19: warning:
'm_t' may be used uninitialized in this
function [-Wmaybe-uninitialized]
pll_code->m_code = m;
Bug
200187768
Change-Id: I86981ef397ff3f8bd0bf80e723d00cb1ca937ef7
Signed-off-by: Joe Korty <joe.korty@ccur.com>
Signed-off-by: Gaurav Singh <gaursingh@nvidia.com>
Reviewed-on: http://git-master/r/
1163940
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
const unsigned int freq_out, struct rt5639_pll_code *pll_code)
{
int max_n = RT5639_PLL_N_MAX, max_m = RT5639_PLL_M_MAX;
- int k, n = 0, m = 0, red, n_t, m_t, pll_out, in_t, out_t;
+ int k, n = 0, m = 0, red, n_t, m_t = 0, pll_out, in_t, out_t;
int red_t = abs(freq_out - freq_in);
bool bypass = false;