diff options
author | Marek Szyprowski <[email protected]> | 2014-11-21 15:14:49 +0100 |
---|---|---|
committer | Felipe Balbi <[email protected]> | 2014-11-21 09:07:42 -0600 |
commit | dc6e69e603e58200df806afcfb9b71ef94e58847 (patch) | |
tree | 7309381e4303518d5e5636c639fcf667aab5aa90 /net/lapb/lapb_in.c | |
parent | 7ad8096edfe0529eabb3ad466184c8fbd6134e1a (diff) |
usb: dwc2: gadget: rework suspend/resume code to correctly restore gadget state
Suspend/resume code assumed that the gadget was always started and
enabled to connect to usb bus. This means that the actual state of the
gadget (started/stopped or connected/disconnected) was not correctly
preserved on suspend/resume cycle. This patch fixes this issue.
Signed-off-by: Marek Szyprowski <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions