From: Sven Schnelle Date: Wed, 23 Mar 2011 20:36:17 +0000 (+0100) Subject: USB: dbgp gadget: fix return value of dbgp_setup X-Git-Tag: v3.0-rc1~337^2~127 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1744020ceb86c83d8116d28c7bdd221d071ca213;p=pandora-kernel.git USB: dbgp gadget: fix return value of dbgp_setup Current code returns 0 even if it can't handle the request. This leads to timeouts when an unhandled request is sent: Bus 001 Device 003: ID 0525:c0de Netchip Technology, Inc. Device Descriptor: [..] can't get device qualifier: Connection timed out [..] change the code to return EOPNOTSUPP in such cases. Signed-off-by: Sven Schnelle Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed