Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1e270c3e authored by Devdutt Patnaik's avatar Devdutt Patnaik
Browse files

usb: f_gsi: Ignore supsend/resume events if data interface is not selected



Usually the GSI disconnect handler is invoked on disconnect
and bus suspend (with remote wakeup disabled) conditions.
However, for functions such as MBIM that support alternate
data interface, suspend/resume handling becomes a no-op
if the data interface is not selected. One such example
is disabling/enabling network device from device manager.
This operation explicitly disables data interface
and subsequent suspend/resume operations become no-ops.

CRs-Fixed: 946385

Change-Id: Idaf240ed5253f61880c05a1b11d87d4979d474c9
Signed-off-by: default avatarDevdutt Patnaik <dpatnaik@codeaurora.org>
parent b474e6d3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment