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

Skip to content
Commit 36ab6405 authored by Mayank Rana's avatar Mayank Rana
Browse files

usb: Use DECLARE_USB_FUNCTION() for initializing USB QDSS function driver



USB QDSS function driver is already registered as module and having init
and exit APIs. DECLARE_USB_FUNCTION_INIT() adds additional module entries
for USB QDSS function driver. This results into seeing error as
"usb_qdss_init: failed to register diag -17" when usb_function_register()
is called 2nd time. Hence fix this issue by using DECLARE_USB_FUNCTION()
instead of DECLARE_USB_FUNCTION_INIT() API.

Change-Id: I37da484eaa44e60e331d18fa720289a2dff8ad50
Signed-off-by: default avatarMayank Rana <mrana@codeaurora.org>
parent 0d88cce3
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