projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2379bdb
)
staging: fsl-mc: fixed bug in uninitialized root dprc irq count
author
J. German Rivera
<
[email protected]
>
Sat, 17 Oct 2015 16:18:23 +0000
(11:18 -0500)
committer
Greg Kroah-Hartman
<
[email protected]
>
Sun, 18 Oct 2015 03:53:38 +0000
(20:53 -0700)
When initializing the object attributes for the root dprc, the
irq_count was uninitialized. Initialize it to 1.
Signed-off-by: J. German Rivera <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/staging/fsl-mc/bus/mc-bus.c
patch
|
blob
|
history
diff --git
a/drivers/staging/fsl-mc/bus/mc-bus.c
b/drivers/staging/fsl-mc/bus/mc-bus.c
index fd13053cbd9b38d526b93398fc378c82e8a56021..4ac3d0791b9fa6c5e6b3a44718331aabd5c78683 100644
(file)
--- a/
drivers/staging/fsl-mc/bus/mc-bus.c
+++ b/
drivers/staging/fsl-mc/bus/mc-bus.c
@@
-749,6
+749,7
@@
static int fsl_mc_bus_probe(struct platform_device *pdev)
obj_desc.id = container_id;
obj_desc.ver_major = DPRC_VER_MAJOR;
obj_desc.ver_minor = DPRC_VER_MINOR;
+ obj_desc.irq_count = 1;
obj_desc.region_count = 0;
error = fsl_mc_device_add(&obj_desc, mc_io, &pdev->dev, &mc_bus_dev);