projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb6f806
)
ASoC: cs4265: Change return values to boolean.
author
Paul Handrigan
<Paul.Handrigan@cirrus.com>
Sat, 28 Jun 2014 16:34:25 +0000
(11:34 -0500)
committer
Mark Brown
<broonie@linaro.org>
Mon, 30 Jun 2014 10:11:58 +0000
(11:11 +0100)
The cs4265_volatile_register reutrns a bool. The function now returns
true or false vs 1 and 0.
Signed-off-by: Paul Handrigan <Paul.Handrigan@cirrus.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/cs4265.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/codecs/cs4265.c
b/sound/soc/codecs/cs4265.c
index c9c04d2987c260d2da884c6a35001ea2ebcc6c96..4c4bf216d51ad128c1d8b7f174c615e4e66c2b35 100644
(file)
--- a/
sound/soc/codecs/cs4265.c
+++ b/
sound/soc/codecs/cs4265.c
@@
-87,9
+87,9
@@
static bool cs4265_volatile_register(struct device *dev, unsigned int reg)
{
switch (reg) {
case CS4265_INT_STATUS:
- return
1
;
+ return
true
;
default:
- return
0
;
+ return
false
;
}
}