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

Skip to content
Commit 00b09723 authored by Pratham Pratap's avatar Pratham Pratap
Browse files

USB: gadget: qti: Fix NULL check for usb_pid_string



Currently driver is checking for the usb_pid_string to be
NULL but usb_pid_string will never be NULL since it is a
pointer to a static character array.
Fix this by checking the data rather than the pointer which
usb_pid_string is pointing to.

Change-Id: Ifb3aa7b905201dee7b1c0eb6d4ba902ddcccb135
Signed-off-by: default avatarPratham Pratap <prathampratap@codeaurora.org>
parent 78bed541
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