commit | cfb3f1cd0e022711d69ff040884357b8410865ef | [log] [tgz] |
---|---|---|
author | Mateusz Kulikowski <mateusz.kulikowski@gmail.com> | Sun Apr 03 13:38:26 2016 +0200 |
committer | Marek Vasut <marex@denx.de> | Sun Apr 10 17:18:42 2016 +0200 |
tree | 5d04158fb6fe363c48095c659a0d74f659268cc4 | |
parent | ac7eef716e6298feea81a927904b25efe1f492ac [diff] |
usb: ehci-hcd: Fix crash when no ops are provided to ehci_register() This commit fixes crash on BananaPi (and possibly others) casued by 3f9f8a5b83f8aec40c9f4ee496046a695e333c45. Crash reason: When no ops were passed to ehci_register(), USB host driver caused NULL pointer dereference. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>