OSDN Git Service

usb: renesas_usbhs: add usbhs_pipe_clear_without_sequence() function
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Wed, 6 Dec 2017 08:18:32 +0000 (17:18 +0900)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 12 Dec 2017 11:04:09 +0000 (13:04 +0200)
commit8d8a0435d10225499ddc8ad36446773ddecaf484
tree497e7e26fe3426ae8fb190d469a162a2573aef5b
parent469e297813440bec9bdf98766f932eb79d2a3a94
usb: renesas_usbhs: add usbhs_pipe_clear_without_sequence() function

This patch adds usbhs_pipe_clear_without_sequence() function.
The controller has the pipe buffer and the PIPEnCTR.ACLRM can clear
it completely. But, it's also clear the data sequence. So, the driver
needs to get the sequence before.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/renesas_usbhs/pipe.c
drivers/usb/renesas_usbhs/pipe.h