From: Tomoya MORINAGA Date: Thu, 12 Jan 2012 02:27:06 +0000 (+0900) Subject: usb: gadget: pch_udc: Fix wrong return value X-Git-Tag: v3.2.16~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9fe9ba7c3596a95bf05f30d70a39c89dceb80dd0;p=pandora-kernel.git usb: gadget: pch_udc: Fix wrong return value commit c802672cd36cd063bfd54d54c8c34825ab5b2357 upstream. 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 Signed-off-by: Felipe Balbi Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed