projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29169f8
)
hsi: nokia-modem: fix uninitialized device pointer
author
Aaro Koskinen
<aaro.koskinen@iki.fi>
Sun, 4 Jan 2015 17:34:13 +0000
(19:34 +0200)
committer
Sebastian Reichel
<sre@kernel.org>
Sun, 4 Jan 2015 19:19:30 +0000
(20:19 +0100)
modem->device was never initialized. This resulted in logs such as:
[ 241.386322] (NULL device *): CMT rst line change detected
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/hsi/clients/nokia-modem.c
patch
|
blob
|
history
diff --git
a/drivers/hsi/clients/nokia-modem.c
b/drivers/hsi/clients/nokia-modem.c
index
f0c2145
..
eb4dc63
100644
(file)
--- a/
drivers/hsi/clients/nokia-modem.c
+++ b/
drivers/hsi/clients/nokia-modem.c
@@
-162,6
+162,7
@@
static int nokia_modem_probe(struct device *dev)
return -ENOMEM;
}
dev_set_drvdata(dev, modem);
+ modem->device = dev;
irq = irq_of_parse_and_map(np, 0);
if (!irq) {