]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
USB: cxacru: ignore error trying to start ADSL in atm_start
authorSimon Arlott <simon@fire.lp0.eu>
Fri, 11 May 2007 06:04:13 +0000 (23:04 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 8 Jun 2007 23:24:31 +0000 (16:24 -0700)
commitfd209e35b74110ee1f3371838b0782b5b02eaaba
treec05b79256fa4e9ffb80c0cba4a12cc377176dd92
parentda1f82b5543738d4c127a449490bc0d55e121fe8
USB: cxacru: ignore error trying to start ADSL in atm_start

The sysfs adsl_status attribute ignores (aside from returning -EIO to the
user) any error sending a START/STOP command to the device and there is at
least one firmware which never sends a response but appears to work
regardless.  Therefore atm_start should also continue if an error is received
so that such firmware is usable.

The official Conexant driver doesn't expect a reply either but this is for
another device (E2 router) and a commonly used firmware does respond.

Also, there is no point in changing -ECONNRESET to -ETIMEDOUT since nothing
ever checks for either of these values.

Signed-off-by: Simon Arlott <simon@fire.lp0.eu>
Cc: Duncan Sands <duncan.sands@math.u-psud.fr>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/atm/cxacru.c