USB: mos7840: fix tiocmget error handling
authorJohan Hovold <jhovold@gmail.com>
Wed, 9 Oct 2013 15:01:09 +0000 (17:01 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 12 Oct 2013 00:01:25 +0000 (17:01 -0700)
Make sure to return errors from tiocmget rather than rely on
uninitialised stack data.

Cc: stable@vger.kernel.org
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

No differences found