Re: [PATCH 1/2] usb: ehci-platform: use reset array API

2017-11-01 Thread Masahiro Yamada
Hi Alan, 2017-11-02 0:32 GMT+09:00 Alan Stern : > On Mon, 30 Oct 2017, Masahiro Yamada wrote: > >> Generic drivers like this need to control arbitrary numbers of reset >> lines. Instead of hard-coding the maximum number of resets, use the >> reset array API. It can manage a bunch of resets behin

Re: [PATCH 1/2] usb: ehci-platform: use reset array API

2017-11-01 Thread Alan Stern
On Mon, 30 Oct 2017, Masahiro Yamada wrote: > Generic drivers like this need to control arbitrary numbers 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 > ---

[PATCH 1/2] usb: ehci-platform: use reset array API

2017-10-30 Thread Masahiro Yamada
Generic drivers like this need to control arbitrary numbers 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 --- drivers/usb/host/ehci-platform.c | 33 +++-