commit | c802672cd36cd063bfd54d54c8c34825ab5b2357 | [log] [tgz] |
---|---|---|
author | Tomoya MORINAGA <tomoya.rohm@gmail.com> | Thu Jan 12 11:27:06 2012 +0900 |
committer | Felipe Balbi <balbi@ti.com> | Tue Jan 24 11:34:24 2012 +0200 |
tree | 862c8c34512f314eb8fc57388298484c087b729a | |
parent | c50a3bff0edb0acd49d8033a12ea4668e09a31ad [diff] |
usb: gadget: pch_udc: Fix wrong return value ISSUE: If the return value of pch_udc_pcd_init() is False, the return value of this function is unsettled. Since pch_udc_pcd_init() always returns 0, there is not actually the issue. CAUSE: If pch_udc_pcd_init() is True, the variable, retval, is not set for an appropriate value. Signed-off-by: Tomoya MORINAGA <tomoya.rohm@gmail.com> Signed-off-by: Felipe Balbi <balbi@ti.com>