Skip to content

Commit

Permalink
drivers: qcom: dcc_v2: fix misleading indentation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
penglezos committed Jul 30, 2020
1 parent 2e2dcce commit d9aa9b4
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions drivers/soc/qcom/dcc_v2.c
Original file line number Diff line number Diff line change
Expand Up @@ -329,19 +329,19 @@ static int __dcc_ll_cfg(struct dcc_drvdata *drvdata, int curr_list)
ret = dcc_sram_writel(drvdata, addr, sram_offset);
if (ret)
goto overstep;
sram_offset += 4;
sram_offset += 4;

ret = dcc_sram_writel(drvdata,
entry->mask, sram_offset);
if (ret)
goto overstep;
sram_offset += 4;
sram_offset += 4;

ret = dcc_sram_writel(drvdata,
entry->write_val, sram_offset);
if (ret)
goto overstep;
sram_offset += 4;
sram_offset += 4;
addr = 0;
break;
}
Expand All @@ -354,7 +354,7 @@ static int __dcc_ll_cfg(struct dcc_drvdata *drvdata, int curr_list)
link, sram_offset);
if (ret)
goto overstep;
sram_offset += 4;
sram_offset += 4;
}

if (loop_start) {
Expand Down Expand Up @@ -424,18 +424,18 @@ static int __dcc_ll_cfg(struct dcc_drvdata *drvdata, int curr_list)
ret = dcc_sram_writel(drvdata, addr, sram_offset);
if (ret)
goto overstep;
sram_offset += 4;
sram_offset += 4;

ret = dcc_sram_writel(drvdata, link, sram_offset);
if (ret)
goto overstep;
sram_offset += 4;
sram_offset += 4;

ret = dcc_sram_writel(drvdata,
entry->write_val, sram_offset);
if (ret)
goto overstep;
sram_offset += 4;
sram_offset += 4;
addr = 0x00;
link = 0;
break;
Expand Down

0 comments on commit d9aa9b4

Please sign in to comment.