mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
gpu: nvgpu: Init cfg variable to avoid warning
Change-Id: I485e4267766b5e906d1ea5e19ff33712fb4ff8df Signed-off-by: Alex Frid <afrid@nvidia.com> Reviewed-on: https://git-master/r/1511785 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Samuel Payne <spayne@nvidia.com> Tested-by: Samuel Payne <spayne@nvidia.com> Reviewed-by: Bo Yan <byan@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
a34d44b348
commit
4ed0bfbd80
@@ -454,7 +454,7 @@ static void clk_setup_dvfs_detection(struct gk20a *g, struct pll *gpll)
|
||||
/* Enable NA/DVFS mode */
|
||||
static int clk_enbale_pll_dvfs(struct gk20a *g)
|
||||
{
|
||||
u32 data, cfg;
|
||||
u32 data, cfg = 0;
|
||||
int delay = gpc_pll_params.iddq_exit_delay; /* iddq & calib delay */
|
||||
struct pll_parms *p = &gpc_pll_params;
|
||||
bool calibrated = p->uvdet_slope && p->uvdet_offs;
|
||||
|
||||
Reference in New Issue
Block a user