]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
Correct drv_usb_kbd_init function
authorRyan CHEN <ryan.chen@st.com>
Wed, 20 Aug 2008 17:00:17 +0000 (13:00 -0400)
committerWolfgang Denk <wd@denx.de>
Tue, 9 Sep 2008 15:02:59 +0000 (17:02 +0200)
commit3b20fd83c73c22acfcb0c6663be747bd5c8b7011
tree30732e12d39390eda22338e98db7b8ab9025bf22
parenteba1f2fc75f128a9a6c1328d786996a93fd7a707
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: Ryan Chen <ryan.chen@st.com>
Acked-by: Markus Klotzbuecher <mk@denx.de>
common/usb_kbd.c