usb: gadget: function: printer: Interface is disabled and returns error

After the device is disconnected from the host side, the interface of
the device is reset. If the userspace operates the device again,
an error code should be returned.

Signed-off-by: Zqiang <qiang.zhang@windriver.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
This commit is contained in:
Zqiang 2020-06-30 13:23:31 +08:00 • committed by Felipe Balbi
commit 7f2ca14d2f