OSDN Git Service

usb: gadget: f_serial: add suspend resume callbacks
authorFabrice Gasnier <fabrice.gasnier@st.com>
Thu, 23 Apr 2020 11:55:55 +0000 (13:55 +0200)
committerFelipe Balbi <balbi@kernel.org>
Mon, 25 May 2020 08:09:39 +0000 (11:09 +0300)
commite702a7c346344733824e27c943cbef59b74aef6f
tree6951f2e1350b592ab7fa9b3ae6e99d987d1d700e
parentaba3a8d01d623a5efef48ab8e78752d58d4c90c3
usb: gadget: f_serial: add suspend resume callbacks

Add suspend resume callbacks to notify u_serial of the bus suspend/resume
state.

Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
drivers/usb/gadget/function/f_serial.c