Skip to content
Commit 3b20fd83 authored by Ryan CHEN's avatar Ryan CHEN Committed by Wolfgang Denk
Browse files

Correct drv_usb_kbd_init function



The patch is that check if usb_get_dev_index() function return valid
pointer. If valid, continue. Otherwise return -1.

Signed-off-by: default avatarRyan Chen <ryan.chen@st.com>
Acked-by: default avatarMarkus Klotzbuecher <mk@denx.de>
parent eba1f2fc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment