]> git.baikalelectronics.ru Git - kernel.git/commit
usb: renesas_usbhs: fixup __usbhs_for_each_pipe 1st pos
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 16 Oct 2012 06:24:55 +0000 (23:24 -0700)
committerFelipe Balbi <balbi@ti.com>
Tue, 16 Oct 2012 09:47:35 +0000 (12:47 +0300)
commit3222faf46eb1ab2cb76f3513d7e08552044c3add
treeb992ddc647211b26587d0d1e754a3017e3590645
parentf1453349605eb6b9cc1dd01d96ddb7af745b7135
usb: renesas_usbhs: fixup __usbhs_for_each_pipe 1st pos

__usbhs_for_each_pipe() is the macro which moves around each pipe,
but it has a bug which didn't care about 1st pipe's position.
Because of this bug, it moves around
pipe0, pipe2, pipe3 ... even though it requested pipe1, pipe2, pipe3...
This patch modifies it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/renesas_usbhs/pipe.h