gpu: nvgpu: gk20a: minor fixes

fixes one use of unitialized var
renames a register to make it match dev_* file.

Change-Id: Iafba659bbf2df509e0b494b2c5dab3819bf650ef
Signed-off-by: Ken Adams <kadams@nvidia.com>
Reviewed-on: http://git-master/r/394792
This commit is contained in:
Ken Adams
2014-04-10 08:33:30 -07:00
committed by Dan Willemsen
parent 824e256c2a
commit a9f75f8793
2 changed files with 2 additions and 2 deletions

View File

@@ -338,7 +338,7 @@ static int gr_gk20a_wait_fe_idle(struct gk20a *g, unsigned long end_jiffies,
if (!gr_status_fe_method_upper_v(val) && if (!gr_status_fe_method_upper_v(val) &&
!gr_status_fe_method_lower_v(val) && !gr_status_fe_method_lower_v(val) &&
!gr_status_fe_method_fe_gi_v(val)) { !gr_status_fe_gi_v(val)) {
gk20a_dbg_fn("done"); gk20a_dbg_fn("done");
return 0; return 0;
} }

View File

@@ -2663,7 +2663,7 @@ static int pmu_handle_perfmon_event(struct pmu_gk20a *pmu,
static int pmu_handle_event(struct pmu_gk20a *pmu, struct pmu_msg *msg) static int pmu_handle_event(struct pmu_gk20a *pmu, struct pmu_msg *msg)
{ {
int err; int err = 0;
gk20a_dbg_fn(""); gk20a_dbg_fn("");