Staging: ipack: reset previous timeouts during device registration.
authorJens Taprogge <jens.taprogge@taprogge.org>
Tue, 11 Sep 2012 11:35:02 +0000 (13:35 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Sep 2012 19:16:35 +0000 (12:16 -0700)
commit8a3ae16e60fb78e0bf062c243ffba5575b64a412
tree917721006ab8051b9e9a6ab89c1a0a216ca0a442
parent07766ab0256c0870746dae2362625e64e8968fc7
Staging: ipack: reset previous timeouts during device registration.

Resetting the previous timeout we avoid to read the timeout status register
and see timeout errors that don't correspond to the present state of the
device.

Signed-off-by: Jens Taprogge <jens.taprogge@taprogge.org>
Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ipack/ipack.c