projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf9185d
)
ASoC: sti: error handling bug in sti_uniperiph_cpu_dai_of()
author
Dan Carpenter
<dan.carpenter@oracle.com>
Tue, 21 Jul 2015 08:57:36 +0000
(11:57 +0300)
committer
Mark Brown
<broonie@kernel.org>
Tue, 21 Jul 2015 10:44:14 +0000
(11:44 +0100)
There is a stray '!' which means the condition is never true.
Fixes:
f3bd847eb0a7
('ASoC: sti: Add uniperipheral dai driver')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sti/sti_uniperif.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/sti/sti_uniperif.c
b/sound/soc/sti/sti_uniperif.c
index 51f745c56c7fda4804c7f1b49798e586557e0060..dffabf3ba9fbc30be71c7dcfc7488df056ab23db 100644
(file)
--- a/
sound/soc/sti/sti_uniperif.c
+++ b/
sound/soc/sti/sti_uniperif.c
@@
-175,7
+175,7
@@
static int sti_uniperiph_cpu_dai_of(struct device_node *node,
UNIPERIF_FIFO_DATA_OFFSET(uni);
uni->irq = platform_get_irq(priv->pdev, 0);
- if (
!
uni->irq < 0) {
+ if (uni->irq < 0) {
dev_err(dev, "Failed to get IRQ resource");
return -ENXIO;
}