]> git.baikalelectronics.ru Git - 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)
commitf7be24521bee274c56d20e9415cb8150b29cd5b6
tree7bbe1a6e38f07ef69b3078dec7d7ee6abdea17ff
parent5e1a88c4c82147358cbfcf88c6d212a3af349e89
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