fixed compiler warning on vco_max value 3.9 GHz

Signed-off-by: hayati ayguen <h_ayguen@web.de>
development
hayati ayguen 2020-09-10 08:00:07 +02:00
parent 1819a8db99
commit 776c31abcb
1 changed files with 1 additions and 1 deletions

View File

@ -719,7 +719,7 @@ static int r82xx_set_mux(struct r82xx_priv *priv, uint32_t freq)
static int r82xx_set_pll_yc(struct r82xx_priv *priv, uint32_t freq)
{
const uint32_t vco_min = 1770000000;
const uint32_t vco_max = 3900000000;
const uint32_t vco_max = 3900000000U;
uint32_t pll_ref = (priv->cfg->xtal);
uint32_t pll_ref_2x = (pll_ref * 2);