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:
db4cb3d
)
ASoC: uniphier: aiodma_rb_get_rp() can be static
author
Wu Fengguang
<fengguang.wu@intel.com>
Mon, 12 Feb 2018 17:53:10 +0000
(
01:53
+0800)
committer
Mark Brown
<broonie@kernel.org>
Tue, 13 Feb 2018 11:58:31 +0000
(11:58 +0000)
Fixes:
f37fe2f9987b
("ASoC: uniphier: add support for UniPhier AIO common driver")
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/uniphier/aio-core.c
patch
|
blob
|
history
diff --git
a/sound/soc/uniphier/aio-core.c
b/sound/soc/uniphier/aio-core.c
index
7e9451c
..
1e5f053
100644
(file)
--- a/
sound/soc/uniphier/aio-core.c
+++ b/
sound/soc/uniphier/aio-core.c
@@
-904,7
+904,7
@@
void aiodma_ch_set_enable(struct uniphier_aio_sub *sub, int enable)
}
}
-u64 aiodma_rb_get_rp(struct uniphier_aio_sub *sub)
+
static
u64 aiodma_rb_get_rp(struct uniphier_aio_sub *sub)
{
struct regmap *r = sub->aio->chip->regmap;
u32 pos_u, pos_l;