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

Commit 3d8cb4dd authored by Ajay Agarwal's avatar Ajay Agarwal
Browse files

usb: gadget: u_smd: Check if SMD channel exists before queueing pull



Currently driver queues tx_pull_work without checking if port
channel exists. If it becomes NULL in some scenario, then pull
work is queued infinitely which leads to watchdog timeout.
Fix this by ensuring that SMD channel exists before queueing
pull.

Change-Id: If02aabda357040e3009ef10e7922d92a6e48996f
Signed-off-by: default avatarAjay Agarwal <ajaya@codeaurora.org>
parent fab1b6d5
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