]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
usb: ehci-platform: use reset array API
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 1 Nov 2017 16:01:58 +0000 (01:01 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 Nov 2017 17:22:26 +0000 (18:22 +0100)
commit8e84f8aa5306bb360edc857b82fc5ac73916f81d
tree7bbe1a6e38f07ef69b3078dec7d7ee6abdea17ff
parent2bb80de74d76095c4ef5e1ad9d5223ab990534d8
usb: ehci-platform: use reset array API

Generic drivers like this need to control arbitrary number of reset
lines.  Instead of hard-coding the maximum number of resets, use the
reset array API.  It can manage a bunch of resets behind the scene.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-platform.c