projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0246c6c
)
ASoC: qcom: sc7180: Fix some indenting in sc7180_lpass_alloc_dma_channel()
author
Dan Carpenter
<dan.carpenter@oracle.com>
Tue, 3 Nov 2020 10:18:53 +0000
(13:18 +0300)
committer
Mark Brown
<broonie@kernel.org>
Tue, 3 Nov 2020 13:19:06 +0000
(13:19 +0000)
This code is correct, but it should be indented one more tab.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link:
https://lore.kernel.org/r/20201103101853.GD1127762@mwanda
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/qcom/lpass-sc7180.c
patch
|
blob
|
history
diff --git
a/sound/soc/qcom/lpass-sc7180.c
b/sound/soc/qcom/lpass-sc7180.c
index
c6292f9
..
61a208f
100644
(file)
--- a/
sound/soc/qcom/lpass-sc7180.c
+++ b/
sound/soc/qcom/lpass-sc7180.c
@@
-96,8
+96,8
@@
static int sc7180_lpass_alloc_dma_channel(struct lpass_data *drvdata,
chan = find_first_zero_bit(&drvdata->dma_ch_bit_map,
v->rdma_channels);
- if (chan >= v->rdma_channels)
- return -EBUSY;
+
if (chan >= v->rdma_channels)
+
return -EBUSY;
} else {
chan = find_next_zero_bit(&drvdata->dma_ch_bit_map,
v->wrdma_channel_start +