commit | 618b797533ca9a6f2cc4439bd69c2e8fd6fc7a74 | [log] [tgz] |
---|---|---|
author | Pratham Pratap <prathampratap@codeaurora.org> | Thu Apr 23 17:57:12 2020 +0530 |
committer | Pratham Pratap <prathampratap@codeaurora.org> | Wed Apr 29 10:08:16 2020 +0530 |
tree | b85863451adf724c102cb3a167467b5727e899b3 | |
parent | 2e88452c208438875ea1903410dd8a961661d6fc [diff] |
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: Pratham Pratap <prathampratap@codeaurora.org>