commit | df101c531eb737915349a1c4b677da7db55eaf69 | [log] [tgz] |
---|---|---|
author | Peter Chen <peter.chen@freescale.com> | Tue Oct 22 11:13:41 2013 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Oct 29 16:43:37 2013 -0700 |
tree | 161bd055f3adda1449e7e01de6df4dbe82a127c7 | |
parent | e55f7cd2467631980f749fb0aef197c06ce38d6a [diff] |
usb: chipidea: host: more enhancement when ci->hcd is NULL Like http://marc.info/?l=linux-usb&m=138200449428874&w=2 said: two more things are needed to be done: - If host_start fails, the host_stop should not be called, so we add check that ci->hcd is not NULL. - if the host_start fails at the beginning, we need to consider regulator mismatch issue. Signed-off-by: Peter Chen <peter.chen@freescale.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>