diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2016-04-25 21:50:36 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2016-04-25 15:14:28 -0700 |
commit | dc0f0285f80558e800411d583de71358a581dfae (patch) | |
tree | 13951628b7fc395438907ca97e08f08afe2b67db /drivers/staging/greybus/bundle.c | |
parent | 9983ea6b766aa701707e50c4b767ca892ee9ba7d (diff) |
greybus: Bundle: Initialize dma_mask for bundle device
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>
Diffstat (limited to 'drivers/staging/greybus/bundle.c')
-rw-r--r-- | drivers/staging/greybus/bundle.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/greybus/bundle.c b/drivers/staging/greybus/bundle.c index 1714482bd34d..1810b62457bc 100644 --- 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); |