]> git.baikalelectronics.ru Git - kernel.git/commit
USB: host: xhci: use max-port define
authorJohan Hovold <johan@kernel.org>
Wed, 10 May 2017 16:18:30 +0000 (18:18 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 May 2017 09:53:02 +0000 (11:53 +0200)
commitd77024dc2f1ace472d2944da6b468135357dc345
treeea6b1a0a99153150505ee7ab3dad045f39960ca9
parentfb08eaf31bdf66b41529b71a5eef37908707a9ab
USB: host: xhci: use max-port define

Use the new define for the maximum number of SuperSpeed ports instead of
a constant when allocating xHCI root hubs.

Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-mem.c