Skip to content

Commit

Permalink
usb: gadget: aspeed: set port_dev dma mask
Browse files Browse the repository at this point in the history
Reviewed By: benwei13

Differential Revision: D25851037

fbshipit-source-id: 419bad3ca5
  • Loading branch information
tao-ren authored and facebook-github-bot committed Jan 11, 2021
1 parent 331b21b commit 83153bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/usb/gadget/udc/aspeed-vhub/dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -569,6 +569,7 @@ int ast_vhub_init_dev(struct ast_vhub *vhub, unsigned int idx)
device_initialize(d->port_dev);
d->port_dev->release = ast_vhub_dev_release;
d->port_dev->parent = parent;
d->port_dev->dma_mask = parent->dma_mask;
dev_set_name(d->port_dev, "%s:p%d", dev_name(parent), idx + 1);
rc = device_add(d->port_dev);
if (rc)
Expand Down

0 comments on commit 83153bd

Please sign in to comment.