mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 09:12:24 +03:00
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:
@@ -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) &&
|
||||
!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");
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
int err;
|
||||
int err = 0;
|
||||
|
||||
gk20a_dbg_fn("");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user