OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9983ea6
)
greybus: Bundle: Initialize dma_mask for bundle device
author
Viresh Kumar
<viresh.kumar@linaro.org>
Mon, 25 Apr 2016 16:20:36 +0000
(21:50 +0530)
committer
Greg Kroah-Hartman
<gregkh@google.com>
Mon, 25 Apr 2016 22:14:28 +0000
(15:14 -0700)
We missed this only for bundle device, fix it.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/bundle.c
patch
|
blob
|
history
diff --git
a/drivers/staging/greybus/bundle.c
b/drivers/staging/greybus/bundle.c
index
1714482
..
1810b62
100644
(file)
--- a/
drivers/staging/greybus/bundle.c
+++ b/
drivers/staging/greybus/bundle.c
@@
-125,6
+125,7
@@
struct gb_bundle *gb_bundle_create(struct gb_interface *intf, u8 bundle_id,
bundle->dev.bus = &greybus_bus_type;
bundle->dev.type = &greybus_bundle_type;
bundle->dev.groups = bundle_groups;
+ bundle->dev.dma_mask = intf->dev.dma_mask;
device_initialize(&bundle->dev);
dev_set_name(&bundle->dev, "%s.%d", dev_name(&intf->dev), bundle_id);